Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
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
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
91 | |
86 | |
83 | |
76 | |
49 |
User | Count |
---|---|
145 | |
140 | |
109 | |
68 | |
55 |