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
Anonymous
Not applicable

Subtract value based on slicer selection

I need some help creating a report , What I'm trying to do is calculate total number of hours system was up in a given time period. I could able to calculate the  hours in the given Time period now what I would like is to give user an option to subtract few hours from the hours that were calculated. I would like to give them a slicer with values from 1 to 30 and based on the selection the Total hours should be calculate this way; TotalHours= Hours - 4*Slicervalue selected.  What I have is a dataset with Datecolum and  uptime hours. How Do i create the sclier column ? and How Do i create the final measure to caluclate the Total Hours. 2019-04-16_12h28_31.png

1 ACCEPTED SOLUTION
Aron_Moore
Solution Specialist
Solution Specialist
1 REPLY 1
Aron_Moore
Solution Specialist
Solution Specialist

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.