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
mandeeps19
New Member

Need help in calculating Percentage slider based on column value

Hi All,

 

I have a requirement to create a percentage filter for the duration column which is in days. The idea is to create a filter to reduce to effect of holiday's etc on the specific data.

sample data - 

Request IDStatusDuration
X1ABC11.6
X2ABC21.2
X3ABC34
X4ABC410
X5ABC52
X6ABC64.8
X7ABC723
X8ABC82
X9ABC91
X10ABC100.4
X11ABC113
X12ABC126.9
X13ABC1371
X14ABC141

 

I want to calculate a overall percentage based on the overall duration. and that measure will be shown as slider and if we want to reduce overall 10 % of the duration then it should effect the overall data.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@mandeeps19 , I think you need to use the what if parameter

 

a measure like

sumx(Table, [Duration] *(100+[what if measure])/100 )

 

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

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@mandeeps19 , I think you need to use the what if parameter

 

a measure like

sumx(Table, [Duration] *(100+[what if measure])/100 )

 

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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.