Forum Discussion
hi
hi
can some one help me for this title measure
here TOPN is static but i want it dynamic
9 Replies
- JayeeResponsive Resident
Hi abc_777 ,
you can create a "New Perameter" in Modeling tab in report view and give the range you want like 1 to 10 it will create a table with column and measure use the measure insted of 1 give the column in slicer then based on user selection it will change.
If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
- abc_777Solution Specialist
I have tried so but its not givinig me the right result.
- abc_777Solution Specialist
Hi,
I have created a parameter name select numbers then in measure i have linked it
Total in Piece and KG (Measure) Dynamic Title Value_Type =CALCULATE(CONCATENATEX(VALUES('bm_retail_t product_file'[VALUE_TYPE]),VALUES('Total in Piece and KG (Measure)'[Total in Piece and KG (Measure) Retail] ) & " "& 'bm_retail_t product_file'[VALUE_TYPE],"Total Quantity in KG (Measure", " & ") & " Highest with- "& FORMAT([Total in Piece and KG (Measure)], "0.00"),TOPN(SELECTEDVALUE('Select Number'[Select Number]), <<<<<<<<<<<<<<<<<<<<<<VALUES('bm_retail_t product_file'[VALUE_TYPE]),[Total in Piece and KG (Measure)]))when select 1 its okbut when select number 2 its shows like this. its adding first and second then 17594068.69
when select number 3 its shows like. its adding first, second and third then 21383488.54
but i dont want to add or sum.
i want to see second value 5590993.92 and third value 3789419.85 when select number 2 and 3
thanks
- JayeeResponsive Resident
You need to subtract my measure with your measure so will get expected result
When you select TOP 3 your measure is giving 21383488.54 and my measure is giving 17594068.69
- So 21383488.54 - 17594068.69 = 3789419.85 this is exactly what you are looking for right..!