The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I've tried using 'Show items with no data', as well as a solution proposed in another thread:
Measure =
VAR __Calc = <Calculation>
RETURN
IF(ISBLANK(__Calc),0,__Calc)
Neither of these options worked. Here is a screenshot of my calculation and screenshot.
This was my solution to show an hourly graph that (is supposed to) start at 6pm and end at 5am. This graph should start at 18 (6pm), but because the value for that time is 0, it's not showing up, but I need it to.
Thank you!
Hi @Anonymous
please try
IF (
ISEMPTY ( 'Table' ),
0,
<calculation>
)
Hey @tamerj1 ,
Thanks for the suggestion, but it's showing the same result as when I used ISBLANK()
@Anonymous
Apparently these records do not even exist in the data. Therefore you need a dim table that contains the full range (from 18 to 29)
User | Count |
---|---|
10 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
20 | |
15 | |
14 | |
10 | |
7 |