Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
in a PowerBI report I have measures as Visual Cards. when other visuals /fillters are selected the results is the numbers update. If no value exists for the day/time/month selected, the total display as a dash ' - ' or as (Blank).
see screen capture.
Not sure if you need the measures, so attached just in case . I have many Measures, and the solution will need to be applied to all Measures to keep & look clean
How can this be cleaned up.
TIA
Solved! Go to Solution.
Hi @dd88
In the current Power BI report, card visuals are showing either dashes ("--") or "Blank" when slicers or filters result in no matching data. This usually happens when a DAX measure returns a BLANK() value because there's no data in the current filter context.
To keep things looking consistent across all card visuals, it is better to handle BLANK() values directly within each DAX measure. Update the measures as below:
Total_terminated_no_operator =
VAR Result =
CALCULATE(
COUNTROWS(AutoAttendantRaw),
AutoAttendantRaw[AutoAttendantCallResult] = "terminated_no_operator"
)
RETURN
IF(ISBLANK(Result), 0, Result)
Repeat this pattern for all other measures where blank values may occur. For instance:
Total_terminated_automatic_selection =
VAR Result =
CALCULATE(
COUNTROWS(AutoAttendantRaw),
AutoAttendantRaw[AutoAttendantCallResult] = "terminated_automatic_selection"
)
RETURN
IF(ISBLANK(Result), 0, Result)
If this response resolves your query, kindly mark it as Accepted Solution to help other community members. A Kudos is also appreciated if you found the response helpful.
Thank you!
many thanks @v-karpurapud sorry I didnot reply sooner. yes that worked thank you all good
Hi @dd88
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.
Hi @dd88
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @dd88
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @dd88
In the current Power BI report, card visuals are showing either dashes ("--") or "Blank" when slicers or filters result in no matching data. This usually happens when a DAX measure returns a BLANK() value because there's no data in the current filter context.
To keep things looking consistent across all card visuals, it is better to handle BLANK() values directly within each DAX measure. Update the measures as below:
Total_terminated_no_operator =
VAR Result =
CALCULATE(
COUNTROWS(AutoAttendantRaw),
AutoAttendantRaw[AutoAttendantCallResult] = "terminated_no_operator"
)
RETURN
IF(ISBLANK(Result), 0, Result)
Repeat this pattern for all other measures where blank values may occur. For instance:
Total_terminated_automatic_selection =
VAR Result =
CALCULATE(
COUNTROWS(AutoAttendantRaw),
AutoAttendantRaw[AutoAttendantCallResult] = "terminated_automatic_selection"
)
RETURN
IF(ISBLANK(Result), 0, Result)
If this response resolves your query, kindly mark it as Accepted Solution to help other community members. A Kudos is also appreciated if you found the response helpful.
Thank you!
User | Count |
---|---|
97 | |
76 | |
76 | |
48 | |
26 |