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 moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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 } )
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
92 | |
83 | |
71 | |
49 |
User | Count |
---|---|
143 | |
120 | |
111 | |
59 | |
57 |