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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.