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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Syndicate_Admin
Administrator
Administrator

Calculate one measure against the result of another

Hello Community:

Here again I hope you can help me with the next exercise I want to do.

I have a table containing the Market dimension and the Sales and Growth measures. Within the results of growth I have positive and negative values.

Now I need to supplement the table with the information

* Total by type of growth value Negative and positive

* From the previous metric generate the participation metric for the negative and positive.

What I want to get can be seen best in the images I put.

I hope you can help me.

Thanks and regards

Img01.PNG

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

You can create a couple of measures like

Venta +/- = CALCULATE( SUM('Table'[Venta]), ALLSELECTED('Table'), SIGN('Table'[Crecimiento]) = SIGN(SELECTEDVALUE('Table'[Crecimiento]) ))

Participacion +/- = DIVIDE( SELECTEDVALUE( 'Table'[Venta]), [Venta +/-])

View solution in original post

1 REPLY 1
johnt75
Super User
Super User

You can create a couple of measures like

Venta +/- = CALCULATE( SUM('Table'[Venta]), ALLSELECTED('Table'), SIGN('Table'[Crecimiento]) = SIGN(SELECTEDVALUE('Table'[Crecimiento]) ))

Participacion +/- = DIVIDE( SELECTEDVALUE( 'Table'[Venta]), [Venta +/-])

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors