March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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])
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
115 | |
77 | |
58 | |
52 | |
45 |
User | Count |
---|---|
167 | |
117 | |
63 | |
57 | |
50 |