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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Is it possible to show a 'warning message' when there is no data for a variable instead of showing an empty section?
For example, in the bottom there's a big white space. Instead, I need a warning message like: 'For the variable chosen in the slicer, ther's no data'.
Solved! Go to Solution.
Thank you @lbendlin , I've done some research and I find out that crating a Card and adding a measure on it was the easiest solution. Is imporant to adjust the transparency of the card to 100% in order to see the data when there are values to show. If this can help someone, this is the measure I used:
Measure = IF(ISBLANK(SUM('Variable')),"Message you want to display","")
You can use the visual title's fx function, or you can use smart narratives to display the appropriate text.
Thank you @lbendlin , I've done some research and I find out that crating a Card and adding a measure on it was the easiest solution. Is imporant to adjust the transparency of the card to 100% in order to see the data when there are values to show. If this can help someone, this is the measure I used:
Measure = IF(ISBLANK(SUM('Variable')),"Message you want to display","")