The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi there
I am looking to impliment a measure to use in a matrix that provides a total count of a column based on today's date BUT also have it output a text value of "No Data" when there is no data available i.e. Blank.
Using a filtered value quick measure within a matrix produces the desired output when today's data is available:
Measure = IF(ISBLANK(CALCULATE( SUM('Table' [COUNT]), 'Date DIM Table' [Today] IN { TRUE } ), "No Data")
This should work
Hi there
Thanks for your quick reply, however, I get an error when I use this saying that too many arguments were passed to the ISBLANK function?
Sorry, should be an extra bracket to close the calculate:
Hi again
This seems to be working partly (so am getting "No Data" showing when there is no data) but nothing when there is.
Is this because I have not provided a result if true statement in the IF clause? If so, I am assuming that I would just need to do the following?
Measure = IF(ISBLANK(CALCULATE( SUM('Table' [COUNT]), 'Date DIM Table' [Today] IN { TRUE } ), "No Data", CALCULATE( SUM('Table' [COUNT]), 'Date DIM Table' [Today] IN { TRUE } )
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
77 | |
73 | |
47 | |
39 |
User | Count |
---|---|
136 | |
108 | |
69 | |
64 | |
56 |