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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Kumshan450
Helper III
Helper III

Context Transition Issue

In the below image, you can see that there are different results for the Fabrikam brand. 

 

Context Transition issue.JPG

 

The following are the dax measures. 

Fabrikam Sales= sumx(

filter(Sales,

Related(Product[Brand])="Fabrikam"
),[Sales Amount)

 

Contosa Sales= sumx(

filter(Sales,

Related(Product[Brand])="Contoso"
),[Sales Amount)

 

I know that the above DAX measures are not the correct approach.  but i want to understand the context transitions issues in the above measures.  Datalink Path shared. 

 

I wanted to know why Fabrikam Sales measure value is not matching with the Fabrikam Sales Amount Value. My doubt is that if there are context transitions issues in Fabrikam Sales then the same is applicable for Contoso brand. How ContosaSales Measure is successful. Why it did not show the difference in values. I want to know the row value of fabrikam Sales that have resulted into difference of values. 

 

This is required for understanding purposes. 

 

 

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

@Kumshan450 

So far, I localize a diffrenece here

Снимок.PNG


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

6 REPLIES 6
Kumshan450
Helper III
Helper III
az38
Community Champion
Community Champion

@Kumshan450 

there is no access to your data sample, please, check access policy


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

az38
Community Champion
Community Champion

@Kumshan450 

So far, I localize a diffrenece here

Снимок.PNG


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
az38
Community Champion
Community Champion

@Kumshan450 

from the first sight I see two options here

1. a complex measure like

Sales by Brand = calculate([Sales Amount],
    ALLEXCEPT(Sales, 'Product'[Brand]))

2. a fabrikam Measure

FabrikamSales = 
IF(
SELECTEDVALUE('Product'[Brand])="Fabrikam", 
calculate([Sales Amount], 'Product'[Brand]="Fabrikam"), 
BLANK()
)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Thank you very much. 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.