The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.