Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
alks_skla_f
Helper II
Helper II

Measure breaks visual

Hello,
I have table visual:

alks_skla_f_0-1754757985614.png

I clicked on "Show items with no data" to use left join instead of inner join:

alks_skla_f_1-1754758063395.png

I have a measure:

alks_skla_f_2-1754758125228.png

Every time when I add this measure in table, I just get first duplicated record:

alks_skla_f_3-1754758667184.png

How is it possible, please?

1 ACCEPTED SOLUTION
Royel
Solution Sage
Solution Sage

Hi @alks_skla_f  

this issue occured because its getting an (Filter Context Conflict).  When you select "Show items with no data"  Power BI tries to show all possible combinations, but here your measure itself has some filter which is causing context conflicts with the visual's row context. 

 

You can try this dax 

hst_grdf_TEMP_id_invl_null_and_not_null = 
SUMX(
    hst_grdf_TEMP,
    IF(
        hst_grdf_TEMP[HST_RESELLER_SALESFORCE_ID_NVL] = BLANK() &&
        hst_grdf_TEMP[GRDF_RESELLER_SALESFORCE_ID_NVL] <> BLANK(),
        1,
        0
    )
)

For your information: 

1. Use SUMX when you need row-by-row evaluation on the same table being displayed

2. Use CALCULATE when you need to change the filter context across different tables or apply complex filters

3. To get quick and correct answer,  try to attached sample file with proper explanation. 

 

Find this helpful? ✔ Give a Kudo • Mark as Solution – help others too!

 

View solution in original post

2 REPLIES 2
danextian
Super User
Super User

What does comment do?





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Royel
Solution Sage
Solution Sage

Hi @alks_skla_f  

this issue occured because its getting an (Filter Context Conflict).  When you select "Show items with no data"  Power BI tries to show all possible combinations, but here your measure itself has some filter which is causing context conflicts with the visual's row context. 

 

You can try this dax 

hst_grdf_TEMP_id_invl_null_and_not_null = 
SUMX(
    hst_grdf_TEMP,
    IF(
        hst_grdf_TEMP[HST_RESELLER_SALESFORCE_ID_NVL] = BLANK() &&
        hst_grdf_TEMP[GRDF_RESELLER_SALESFORCE_ID_NVL] <> BLANK(),
        1,
        0
    )
)

For your information: 

1. Use SUMX when you need row-by-row evaluation on the same table being displayed

2. Use CALCULATE when you need to change the filter context across different tables or apply complex filters

3. To get quick and correct answer,  try to attached sample file with proper explanation. 

 

Find this helpful? ✔ Give a Kudo • Mark as Solution – help others too!

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.