Forum Discussion
How to Display Rows Without Aggregation in Table Visual?
- 2 years ago
Irwan ,
Thank you, Irwan, for your alternative solution. Your approach of unpivoting the columns in Power Query and then using DAX to make repeated values blank seems promising.
- Unpivoted the columns in Power Query to merge them into one column.
- Created a calculated column using your provided DAX formula to conditionally blank out repeated values.
- Plotted the data using a matrix visual.
This method accommodates my multiple column data and simplifies the process. However, as you mentioned, the row layout might need adjustment, but it’s a great start!
Thank you again for your assistance. I will try this approach and keep you posted on the results.
Thank you, Irwan, for your suggestion. I have already applied the "Don't Summarize" option for the last numeric column, but my goal is to display the first four columns with unique values in a single row without repeating the same values across multiple rows.
Here’s an example of my desired output:
Currently, when I add all columns to the table visual and set the numeric column to "Don't Summarize," I still
see each row repeated with the same values in the first four columns.
Could you please advise on how to achieve this display where the first four columns show unique values in a single row without repetition?
Thank you for your assistance.
Hello PBI_learn_NK
not sure if this is the most efficient way, but here is the easiest way that i can think.
Also I added some value in your table just incase you need to differentiate value in those column (1-4).
Since you want to put value in all column at the lowest value of Column5, then you need conditional if to make them blank. Tabel visual will show all value in your column and matrix visual seems not match to your need.
Conditional if is used for making blank value for every same string in Column1 (the logic is if the value in Column5 is not matching to the lowest value of Column5 then it is blank).
Hope this will help you.
- PBI_learn_NK2 years agoFrequent Visitor
Irwan ,
Thank you, for your detailed solution. Your approach works well for a few columns. However, since I have many more columns, I will try alternative approaches and keep you posted.
Thank you again for your assistance and creative solution!
Best Regards,
NK- Irwan2 years agoSuper User
Hello PBI_learn_NK
if you have a lot of column then the only choice is merging them in Power Query first.
1. Select all column, then choose unpivot column
2. it will merge those column into one column
3. Create calculated column and use the previous DAX to make blank value
Duplicate =var _Value = 'Table'[Value]var _LowestValue =MINX(FILTER('Table','Table'[Value]=_Value),'Table'[Column5])ReturnIF('Table'[Column5]=_LowestValue,'Table'[Value],"")4. Plot using matrix visualThis way should accomodate with your multiple column data. However, the row seems not be able to be moved to the right side so the value of Column5 is on the left side. And this trick will need you to change your table structure (merging them into one column).
Hope this will help you.
Thank you.
- PBI_learn_NK2 years agoFrequent Visitor
Irwan ,
Thank you, Irwan, for your alternative solution. Your approach of unpivoting the columns in Power Query and then using DAX to make repeated values blank seems promising.
- Unpivoted the columns in Power Query to merge them into one column.
- Created a calculated column using your provided DAX formula to conditionally blank out repeated values.
- Plotted the data using a matrix visual.
This method accommodates my multiple column data and simplifies the process. However, as you mentioned, the row layout might need adjustment, but it’s a great start!
Thank you again for your assistance. I will try this approach and keep you posted on the results.