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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Chimsie
Helper III
Helper III

Slicer to add a fixed value to a chart

Hello,

I'am looking for the possibility to add a slicer which add a fixed value to the cabinet in the chart, this fixed value is 50 kg or 100kg.
So for the first cabinet the value than will change from 300 to 350 and so on.

Or even better, a slicer to distribute 500kg (fix value) extra divided over the active cabinet.
The active cabinets can change through the existing filters

 

Is this possible via a filter?

 

Untitled.png

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Chimsie , You can add that line.

 

Use this as a line in clustered line visual or use in Y axis contact line under fx option

 

Use a what if parameter

 

measure = selectedvalue(whatif[Whatif])

 

or

 

measure = selectedvalue(whatif[Whatif])/ distinctcount(Table[Cabinate])

 

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Chimsie , You can add that line.

 

Use this as a line in clustered line visual or use in Y axis contact line under fx option

 

Use a what if parameter

 

measure = selectedvalue(whatif[Whatif])

 

or

 

measure = selectedvalue(whatif[Whatif])/ distinctcount(Table[Cabinate])

 

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

@amitchandak 

With the what if parameter I was able to creat a visualize variables😃

Dead load = SELECTEDVALUE(Cabinet[Weight]) + SUM ('Dead load'[Weigth])

This answered my first question, Is it also possible to create a slicer to distribute 500kg (fix value) divided over the active cabinet. (The active cabinets can change through the existing filters)

Current solution:
Chimsie_0-1639733281361.png

 







Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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