Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello All,
I am using cards visualization's, to show the current month data value.
And i have written Dax as
last month = IF(1*(TODAY()-'tablename'[Date])<30,"Last Month","Older Months").
then i have used this mesure in visual level filter and checked the last month.
I need to show a message as "Data not available"" if the current month data is not available.
And when ever the data is showed up in the cards then i would like to show the value as well as a message like "Last updated on "Date"".
Is it possibel with card visualization if not then what is the best solution for this.
Please suggest me,
Mohan V
You could make a new, conditional measure that first checks whether there is sufficient data for the month.
Measure = IF( /* Determine if there is sufficient data */, /* Perform calculation */, "Data Not Available" )
For instance, you could COUNTROWS() on your fact table filtered down to that month, and if it's greater than 0, perform the calculation.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |