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 Guys,
can anyone help with my question below:
i have two reports from 2 sources contain same products, however i do not want the pbi dashboard page/visuals to show the data when either one of the report contains 0. for example, both report 1 and 2 are from 2 different sources, and with same product ,if apple and pineapplle are showing 0 in table 2 then apple and pineapple will not show data in dashboard, so my visuals will show banana only. what dax can i apply for this situation for all pages and visuals in the dashboard
Solved! Go to Solution.
@Anonymous , If i can assume report 1 and report 2 are table and sum of value is 0
Value1 is measure from report 1 and value 2 is measure from report 2
One way is put report level filter value1 <> 0 and value2 <> 0
or create measure like
value1 new =
if( [value1] = 0 && [Value2] =0, blank(), [Value1])
value2 new =
if( [value1] = 0 && [Value2] =0, blank(), [Value2])
Hi @Anonymous
I think you can try to build a measure to filter your visual as well.
My Sample:
Measure:
Filter =
IF(SUM(Source1[Report1])<>0&&SUM('Source 2'[Report 2])<>0,1,0)
Build a visual ,add this measure into visual level filter field and set it to show items when value =1.
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
I think you can try to build a measure to filter your visual as well.
My Sample:
Measure:
Filter =
IF(SUM(Source1[Report1])<>0&&SUM('Source 2'[Report 2])<>0,1,0)
Build a visual ,add this measure into visual level filter field and set it to show items when value =1.
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , If i can assume report 1 and report 2 are table and sum of value is 0
Value1 is measure from report 1 and value 2 is measure from report 2
One way is put report level filter value1 <> 0 and value2 <> 0
or create measure like
value1 new =
if( [value1] = 0 && [Value2] =0, blank(), [Value1])
value2 new =
if( [value1] = 0 && [Value2] =0, blank(), [Value2])
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 |
---|---|
88 | |
86 | |
82 | |
65 | |
49 |
User | Count |
---|---|
138 | |
110 | |
104 | |
66 | |
64 |