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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
Super User
Super User

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
Super User
Super User

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.