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.
All,
I have a measure I'm using as a means of dynamically always using the current year detail. There are some cells in my table that are blank and I want to force a value even if it is zero dollars ($0.00). I'm seeing that if you select the visual, then values you should see 'show items with no data', but it is not available.
I'm using a matrix table visual. Can anyone offer any asstance on how to force the visual to show $0.00?
Solved! Go to Solution.
Hi @emma313823
Show items with no data only works if the Row exists and has no values.
I.e The row Company = A, Month = Jan, Sales = Blank()
If the row itself doesn't exist then Show items with no data won't work.
There are two ways to do it:
Hope this helps!
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi All,
Firstly, @SamWiseOwl thank you for your solution!
And @emma313823 according to my understanding, I want to share another method.
You can add a COALCSCE function to your DAX function to potentially help you out, hope this helps.
CurrYrComm = COALESCE(
CALCULATE(SUM(example_commissions[Check_Value]),
FILTER('Calendar_Date',
Year('Calendar_Date'[Date])=YEAR(Today())
)
),0)
Hope it helps!
Best regards,
Community Support Team_ Tom Shen
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
In the Calendar Table, create a column of Year. Drag Year from the Calendar Table into a slicer and select 2024. Simplify your measure to
CurrYrComm = COALESCE(SUM(tblIncomingCommissions[Check_Value]),0)
Hope this helps.
Hi All,
Firstly, @SamWiseOwl thank you for your solution!
And @emma313823 according to my understanding, I want to share another method.
You can add a COALCSCE function to your DAX function to potentially help you out, hope this helps.
CurrYrComm = COALESCE(
CALCULATE(SUM(example_commissions[Check_Value]),
FILTER('Calendar_Date',
Year('Calendar_Date'[Date])=YEAR(Today())
)
),0)
Hope it helps!
Best regards,
Community Support Team_ Tom Shen
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @emma313823
Show items with no data only works if the Row exists and has no values.
I.e The row Company = A, Month = Jan, Sales = Blank()
If the row itself doesn't exist then Show items with no data won't work.
There are two ways to do it:
Hope this helps!
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
User | Count |
---|---|
79 | |
78 | |
37 | |
33 | |
31 |
User | Count |
---|---|
93 | |
81 | |
59 | |
49 | |
49 |