Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear Ones,
Along with greeting, I would like a consultation on the subject at hand.
I have the following table type Matrix, and when it comes to showing the sub-rows, I want to hide certain data or put them white because in reality I am interested only in the total value of the top row.
Row value (of interest):
Market size N° Competitors
Large >3
Hide the subrows:
Market size N° Competitors
Low 0 to 1
Big 2-3
Low 0 to 1
Big 0-1
The other data such as Total Value and Price I am interested in seeing, but Market Size and Competitors are not.
The DAX formulas I occupied:
Market Size:
N° Competitors:
Thank you very much in advance.
Best regards!
Solved! Go to Solution.
You can modify your current measures [Market Size] and [N° Competitors] similar to below. Use ISFILTERED function to decide whether a measure is evaluated on the child level (e.g. the [Product] column in my example). When it is on the child level, it will return blank. When it is on the subtotal or total level, it will return the result you have interest in.
New measure = IF(ISFILTERED('Table'[Product]),BLANK(),[Old measure])
Market Size =
IF(ISFILTERED('Table'[Product]),BLANK(),
SWITCH(TRUE(),
SUM('Table'[Total Value])<625000,"Low",
SUM('Table'[Total Value])<1250000,"Average",
"Large")
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Dear
It was just the solution I was looking for.
Thanks a lot!
You can modify your current measures [Market Size] and [N° Competitors] similar to below. Use ISFILTERED function to decide whether a measure is evaluated on the child level (e.g. the [Product] column in my example). When it is on the child level, it will return blank. When it is on the subtotal or total level, it will return the result you have interest in.
New measure = IF(ISFILTERED('Table'[Product]),BLANK(),[Old measure])
Market Size =
IF(ISFILTERED('Table'[Product]),BLANK(),
SWITCH(TRUE(),
SUM('Table'[Total Value])<625000,"Low",
SUM('Table'[Total Value])<1250000,"Average",
"Large")
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |