March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi me again,
Phase 2. I have two data cards showing a ratio. One datacard remains unfiltered at all times, so when you slice the data, one card changes, and the other shows the overall value for comparison.
Before you slice the data, you've got two data cards showing the same number. Lame. I want to hide the unfiltered datacard UNTIL someone applies filters to my report.
Go.
Solved! Go to Solution.
@Anonymous That would be more like:
Overall Ratio =
VAR __Calc = CALCULATE([Passed Closing SLA]/[Total Closed Encounters],ALL('Closed'))
RETURN
IF(
ISFILTERED('Table'[Column1]) ||
ISFILTERED('Table'[Column2]) ||
ISFILTERED('Table'[Column3]) ||
ISFILTERED('Table'[Column4]) ||
ISFILTERED('Table'[Column5]) ||
ISFILTERED('Table'[Column6]),
__Calc,
BLANK()
)
Hi @Anonymous ,
You will need to use bookmarks.
See if these help
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
S
@harshnathani I'm pretty sure I can do it without using bookmarks, I think it's possible with a measure and using transparency but i'm not sure how.
Hi @Anonymous ,
See the second link..
This is without a Bookmark.
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
@Anonymous - Can you use ISFILTERED to check and return BLANK?
Probably @Greg_Deckler but i'm not sure how to adapt the measure to hide the data card it's in until the data is filtered.
This is the measure, which you helped me with yesterday:
@Anonymous - Maybe:
Overall Ratio =
VAR __Calc = CALCULATE([Passed Closing SLA]/[Total Closed Encounters],ALL('Closed'))
RETURN
IF(ISFILTERED('Table'[Column]),__Calc,BLANK())
@Greg_Deckler ok, but the 'Table'[Column] - I don't want to specify a column, as it will only work then if that column is used as a slicer. And I have 6 slicers, and I want the measure to remain blank until any of the slicers are applied. Is this possible?
@Anonymous That would be more like:
Overall Ratio =
VAR __Calc = CALCULATE([Passed Closing SLA]/[Total Closed Encounters],ALL('Closed'))
RETURN
IF(
ISFILTERED('Table'[Column1]) ||
ISFILTERED('Table'[Column2]) ||
ISFILTERED('Table'[Column3]) ||
ISFILTERED('Table'[Column4]) ||
ISFILTERED('Table'[Column5]) ||
ISFILTERED('Table'[Column6]),
__Calc,
BLANK()
)
Thanks guys, @Greg_Deckler came up with a solution that works perfectly for my report. Thanks so much I really appreciate it.
I would genuinely be lost without you!
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
@AllisonKennedy ok I can create the measure, but I don't know where to put it, I tried under the field value of the conditional background of the data card but it doesn't make a difference.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
93 | |
90 | |
86 | |
76 | |
49 |
User | Count |
---|---|
167 | |
149 | |
99 | |
73 | |
57 |