Forum Discussion
Multiple groupings for Column Headers
- 7 years ago
Hi Anonymous
You may use 'Unpivot columns' in query editor. Attached the sample file for your reference.
Regards,
Cherie
You need to had a column with the sorting number and then make a sort by another column:
Your Rock! Thanks, now how do I get rid of the column headers for those rows? Like the word Group and Sort and the 1,2,3 etc.
- MFelix2 years ago
Super User
Hi Jveselka,
You don't need to place the sorting column on the visual if you use the sort by other column that will work properly.
- Jveselka2 years agoFrequent Visitor
Ok, I'll see if I can do that. Now for another question. I'm new to DAX so here is an example of the conditional column I created to group two columns. I need the data in those two columns to be a calculation. How do I add that in to DAX statement or is there another way.
= Table.AddColumn(#"Unpivoted Other Columns", "Group", each if [Attribute] = "AppsPD" then "Life Apps" else if [Attribute] = "Apps" then "Life Apps" else null)
Example -
APPS PD = Standards[AppsPD]*[TruncPeriod]/12Apps1 = Standards[Apps]*[TruncPeriod]/12