Forum Discussion
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
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)
Regards,
Jimmy Tao
6 Replies
- v-yuta-msftCommunity 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)
Regards,
Jimmy Tao
- v-yuta-msftCommunity Support
Hi krzysztof,
Could you please share more details about your requirement and share some sample data?
Regards,
Jimmy Tao
- krzysztofHelper III
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 solutionhttps://drive.google.com/file/d/19Cm7d0qjXHUFEMIUGtGRGxmofwB_-Dbr/view?usp=sharing
- OmegaImpactful Individual
I belive you need to create your difference % as a column and not as measure in order to drag it to a slicer :)