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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
krzysztof
Helper III
Helper III

Parameters choosing the difference

I created a table in which there are products and the values for them in the selected month, next to the values in the previous month and measure the difference of%. I would like to put a parameter on top of the slicer in which I will put the difference of% months and how I will choose eg 30% will show me the value with a difference of 30% and above

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi krzysztof,

 

Modify your measure like below and check if it can meet your requirement:

Diff % Month = 
VAR result = DIVIDE([Value ACTUAL MONTH],[Value Last Month],0)-1
RETURN
IF( result >= (Parametr[Wartość Parametr] / 100), result)

Capture.PNG 

 

Regards,

Jimmy Tao

View solution in original post

6 REPLIES 6
v-yuta-msft
Community Support
Community Support

Hi krzysztof,

 

Modify your measure like below and check if it can meet your requirement:

Diff % Month = 
VAR result = DIVIDE([Value ACTUAL MONTH],[Value Last Month],0)-1
RETURN
IF( result >= (Parametr[Wartość Parametr] / 100), result)

Capture.PNG 

 

Regards,

Jimmy Tao

v-yuta-msft
Community Support
Community Support

Hi krzysztof,

 

Could you please share more details about your requirement and share some sample data?

 

Regards,

Jimmy Tao

Hi,

I can use parameters to analyze what if but here as You see the parameter is to be used as a filter, will you help me? Maybe You have a different solution

 

https://drive.google.com/file/d/19Cm7d0qjXHUFEMIUGtGRGxmofwB_-Dbr/view?usp=sharing

 

screen.PNG

Omega
Impactful Individual
Impactful Individual

I belive you need to create your difference % as a column and not as measure in order to drag it to a slicer 🙂

Do you have an idea how to solve this problem?
I will be grateful for your help

to create a difference % column, I have to create the values column for the previous month and I do not know how to create such a column. As you can see I created the measure value last month (this is the value of the previous month only name I was wrong) but I can not make a calculated column out of this measure

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.