Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello All,
I am trying to customize a matrix visualization. this is my excpected Out put how can i achieve this ( Pictures atached).
Please let me know If you need more info.
Solved! Go to Solution.
Hi @dhanekula1996 ,
Please try:
Measure = IF(ISINSCOPE('Table'[Item]) ,SUM('Table'[cost]), IF(ISINSCOPE('Table'[Sample]),BLANK(),SUM('Table'[cost])))
Output:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @dhanekula1996 ,
Please try:
Measure = IF(ISINSCOPE('Table'[Item]) ,SUM('Table'[cost]), IF(ISINSCOPE('Table'[Sample]),BLANK(),SUM('Table'[cost])))
Output:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
This can be achieved by using ISFILTERED combined with IF.
My example data:
The DAX I used:
End result:
Hopefully this helps and if it does consider accepting this as a solution!
Proud to be a Super User!
Hello,
Thank you for your solution. WHen I have tried this I was able to show Blank values at Level 1 But my Row total per row (Left to right) is also showing as Blanck. I need to show value of the total in there as well. Like using SUMX ???
Hi,
To solve this you can create separate total measure which doesn't have the ISFILTERED structure. So for example something like:
[Total cost]=sum([cost])+sum([Max cost]). Then If you place this Into The Matrix the value will show.
Example:
Proud to be a Super User!
@dhanekula1996 , I doubt this is possible with standard visual,
As a work around. You need to append data sample distinct values in the item table and the use option Show Item with no data.
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
9 | |
6 |