Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello everyone,
Please, I would need help with a measure.
I would need a measure that multiplies the Ventas Act by Value Vent Act of each of the filter elements and then divides it by the sum of the total Vent Act.
And the result is dynamic, depending on the selection of the filter
I need help to use these excel formulas in Power BI.
Best Regards
Solved! Go to Solution.
Hi @luissanchez,
You could create the three measures to get your desired output.
1.
Act_Measure =
VAR temp =
SUMX ( 'Sheet5', 'Sheet5'[Ventas Act] * 'Sheet5'[Valor Vent Act] )
RETURN
DIVIDE ( temp, SUM ( 'Sheet5'[Ventas Act] ) )
2.
Pas_measure =
VAR temp =
SUMX ( 'Sheet5', Sheet5[Velor Vent Pas] * 'Sheet5'[Ventas pas] )
RETURN
DIVIDE ( temp, SUM ( Sheet5[Ventas pas] ) )
3.
Measure = DIVIDE ( [Act_Measure] - [Pas_measure], [Act_Measure] )
Then you will get the result below.
Hope it can help you!![]()
Best Regards,
cherry
Hi @luissanchez,
You could create the three measures to get your desired output.
1.
Act_Measure =
VAR temp =
SUMX ( 'Sheet5', 'Sheet5'[Ventas Act] * 'Sheet5'[Valor Vent Act] )
RETURN
DIVIDE ( temp, SUM ( 'Sheet5'[Ventas Act] ) )
2.
Pas_measure =
VAR temp =
SUMX ( 'Sheet5', Sheet5[Velor Vent Pas] * 'Sheet5'[Ventas pas] )
RETURN
DIVIDE ( temp, SUM ( Sheet5[Ventas pas] ) )
3.
Measure = DIVIDE ( [Act_Measure] - [Pas_measure], [Act_Measure] )
Then you will get the result below.
Hope it can help you!![]()
Best Regards,
cherry
Thank you for your help.
It solved the problem.
![]()
Thank you for your answer.
I'm going to try it...
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 51 | |
| 46 | |
| 23 | |
| 19 |
| User | Count |
|---|---|
| 138 | |
| 111 | |
| 50 | |
| 33 | |
| 29 |