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.
Hello,
thought it is easy but didnt work 🙂
I want to hide some values without affecting the total.
In detail: Hide BA, BB, BC but keep the Total 36 and 42:
The Measure is something like CALCULATE ( SUM ( ) ... , LASTDATE ( ) ).
I tried some DAX with ISINSCOPE but didnt work.
Thanks.
Solved! Go to Solution.
Hey @Pikachu-Power ,
you can check if column 2 is in scope with the ISINSCOPE function and return BLANK in that case and otherwise your measure.
The following approach should work, just replace the SUM at the end with your measure:
Measure No Details =
IF (
ISINSCOPE ( myTable[Col2] ) && MAX ( myTable[Col1] ) = "B",
BLANK (),
SUM ( myTable[Measure] )
)
Then the measure will give according results:
If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
Best regards
Denis
Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic
Hey @Pikachu-Power ,
you can check if column 2 is in scope with the ISINSCOPE function and return BLANK in that case and otherwise your measure.
The following approach should work, just replace the SUM at the end with your measure:
Measure No Details =
IF (
ISINSCOPE ( myTable[Col2] ) && MAX ( myTable[Col1] ) = "B",
BLANK (),
SUM ( myTable[Measure] )
)
Then the measure will give according results:
If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
Best regards
Denis
Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic
User | Count |
---|---|
87 | |
84 | |
36 | |
35 | |
30 |
User | Count |
---|---|
96 | |
74 | |
67 | |
52 | |
51 |