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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
admin11
Memorable Member
Memorable Member

Same expression Sales Contribution % work in Coy Table but not Segment Table ?

Hi All

 

i have below expression working fine when i use with customer name  :-

 

Sales Cont % = DIVIDE('SALES'[SALES_],CALCULATE('SALES'[SALES_],ALLSELECTED('SALES')))
admin11_0-1643794819661.png
But same expression when i use with SEGMENT_C , it display all 100% :-
 
 
3 REPLIES 3
amitchandak
Super User
Super User

@admin11 , is there a join between Table 1 and Table 2

 

Means is Segment_C is joined with the table having column for sales_ measure

@amitchandak 

Table 1 and 2 are join. 

i can get it work for sales by customer name , sales by staff , sales by year. for sales contribution % , but when i try segment_c it does not work.

Hi @admin11 ,

 

The pbix file you provided has been deleted. Can you provide it again?

vstephenmsft_0-1644484098474.png

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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