I am writing a list in Cognos Report Studio 10.2 and am fairly new with it. The list has are over 10 columns where the user can select which columns they want to display in the report. That is currently working fine with render variables and static choices. I now need to add a column that will give a count of the number of ID’s per group. I created a data item and used count(distinct[ID]) and it is producing the correct totals, but it is grouping by all the columns not just on the columns that are being displayed. How do I group the columns that are being displayed correctly?
Related
I'm displaying my data in Power BI Desktop table visual using SQL Server Stored Procedure data source. I need data to be sorted in particular user-requested order (there are only 5 rows in the data output). For this purpose I did the following:
Created "dummy" column in SQL Server SP to reflect the ordering requirements (values 1-5)
Specified dummy column in Order By clause for SP output.
In Power BI Desktop I navigated to Power Query Editor and sorted data table by the dummy column explicitly.
Still, after all these steps, data in table visual is sorted differently. Please note dummy column is NOT displayed on table visual (and is not supposed to be). Also, NO manual sorting has been applied to the table visual (both Sort Ascending and Sort Descending options are blurred for the Table Visual).
How can I fix this issue?
Appreciate your help.
P.S. Here is the picture of not displaying Column Tools when clicking on a column:
https://i.stack.imgur.com/gTXFR.jpg
What you may want to try to do is select the column you want to have sorted and set it to sort by the dummy column you have created. This uses your chosen field as the display field but will sort it by your dummy field.
This is very commonly used when sorting months or days of the week where you want to see, say, a day name on an axis but don't want it sorted alphabetically but rather by the order of the day in the week.
Sample screen shot below taken from these PowerBI Docs.
I'm using powerbi desktop version and I've added a measure as a column in the table visual.
Enabled totals as well but unfortunately I'm not able to see the total value of that particular column to be displayed.
The same table contains several other measures for which the total appears but not for one particular column. This has data type decimal number.
Any suggestions?
TIA!!!
I have created a query on three tables. Here there is a column GUID (which is actually unique), then there is a column date/time and a column with a phone number.
Now if the same phone number calls more than once, get duplicates with always the same GUID. Can I filter this in Power BI so that the ID only appears once?
If I understand your requirement correct, There is an option in Power Query Editor to remove all duplicate rows. You can first select your all 3 columns- guid, date_time and phone_number. Now right click on any of the Column's header and select Remove Duplicate from the list as shown in the below sample image-
This should keep only 1 rows per distinct combination considering 3 columns.
My SSRS 2008 report has a List control and a column chart in the List control. Dynamically charts are created fine. But all charts are created in 1 column only. I want the list control to span in 2 or more columns so that I see all the charts in minimal space.Is there any property or tweak for this?
This is how my report looks like
I want the second chart to appear on right side besides chart 1.
Use a Column Group as opposed to a Row Group with your List Control
I have two identical lists containing the following columns:
Title (default column)
Rate (defined as Currency)
Rate2 (defined as Number)
In SPDesigner, under the Data Sources, I've created a Merged linked data source.
I've created a blank page and added a dataview webpart that points to my merged data source. This dvwp has Sort & Filter on Headers enabled. The three columns that are visible are Title, Rate and Rate2.
When I view this page in IE, I do see that all 3 columns have sorting enabled on them. When I sort on either of the Rate(Currency) or Rate2(Number) columns, my data is sorted as if those columns contain text and not numbers.
To see if there was something wrong with the XSLT, I created another dvwp that was connected to just one of the lists. Once again, I enabled sorting and when I view this page in IE, sorting on the Rate and Rate2 columns work as expected.
Any thoughts on where to go from here?