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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
singleton2787
Helper III
Helper III

Use the number of dropdown slicer selections as a variable in simple Divide calc column?

In the screenshot below I want to use the Numer of Sprints in the dropdown to pass as a variable in a simple divide(sum) statement.. is this possible? I'm using a hard-coded 3 now as you see.

 

 

 

Sprint Velocity2 =
        DIVIDE(SUM('Sprint Burndown'[Sprint Done Points]), 3 )

 

singleton2787_0-1665152061965.png

singleton2787_1-1665152154649.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@singleton2787 , use a what if parameter

 

Sprint Velocity2 =
DIVIDE(SUM('Sprint Burndown'[Sprint Done Points]), [What if meausre] )

 

https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-what-if

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@singleton2787 , use a what if parameter

 

Sprint Velocity2 =
DIVIDE(SUM('Sprint Burndown'[Sprint Done Points]), [What if meausre] )

 

https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-what-if

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.