Forum Discussion
Show Zero in table
- 1 year ago
Hi Anonymous
Thx for your reply.
I change the code a little bit and it works.
Code:
Sum_income = var x = SUM(I_table[Income]) var _P_CatList = CALCULATETABLE(VALUES(P_table[P_Cat]),FILTER(I_table,I_table[Project type] IN VALUES(I_table[Project type]))) return IF(MAX(P_table[P_Cat]) in _P_CatList,x,x+0 )Thank You.
Best Regards,
Duncan
Hi DuncanYeah
Try this formula :
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi Ritaf1983 ,
Thx for your reply and it kinda works.
However, after applying other filters the categories just disappear instead of showing zero.
Thank You.
Regards,
Duncan
- Ritaf19831 year ago
Super User
Hi DuncanYeah
You need to create a model + formulas that serve your scenario...- DuncanYeah1 year ago
Helper III
Hi Ritaf1983 ,
Sorry for missing the filter in the past example.
I recreate the pbix that have a filter inside.
https://drive.google.com/file/d/1Swv7apy3WZ9KXVwVEUdV8SJGhfLtILbo/view?usp=drive_linkSorry and thank you for your reply and effort.
Regards,
Duncan
- Ritaf19831 year ago
Super User
Now i don't understand what a desired result is...+
You add a row with a blank value...is this a value that should be 0?