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
gauravnarchal
Post Prodigy
Post Prodigy

Need help with % and Total Sale

Hello -  I need help to calculate the True & False % & sale of each product.

 

Result %

 

Status Sale 
FALSE42.55%
TRUE57.45%
Total100.00%

 

Result Sale

Status Sale 
FALSE   205,900.00
TRUE   278,000.00
Total   483,900.00

 

Data Table 1

 

ProductCodeStatus
Apple1FALSE
Mango2TRUE
Banana3TRUE
Juice4TRUE
Grapes5FALSE
Melon6FALSE
Watermelon7TRUE

 

Data Table 2

 

CodeSale
1250
23500
34150
44800
55450
66100
76750
17400
28050
38700
49350
510000
610650
711300
111950
212600
313250
413900
514550
615200
715850
116500
217150
317800
418450
519100
619750
720400
121050
221700
322350
423000
523650
624300
724950

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

This can be done via implicit measures.

lbendlin_0-1659817293903.png

see attached

 

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

This can be done via implicit measures.

lbendlin_0-1659817293903.png

see attached

 

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.