Forum Discussion
New_be
4 years agoHelper V
Return values from previous parameters
Hi expert, I have an issue with one of my report. Currently what I am doing in my report is like in table (1) below. I divided all RSS Value with PRD value (4,046.60). But, what I really want...
- 4 years ago
Hi, New_be
You can try the following methods.
Measure = Var N1=MAXX(FILTER(ALL('Table'),[RSS]<SELECTEDVALUE('Table'[RSS])),[RSS]) Var N2=CALCULATE(SUM('Table'[VALUE]),FILTER(ALL('Table'),[RSS]=N1)) return IF(SELECTEDVALUE('Table'[RSS])=1,SELECTEDVALUE('Table'[PRD Value]),N2)In order to get Total to output the correct value, the IF(HASONEVALUE()) function is also required.
Pro = IF(HASONEVALUE('Table'[RSS]),[Measure], SUMX(SUMMARIZE('Table',[RSS],"Pro",[Measure]),[Pro]))Rercentage = DIVIDE(SUM('Table'[VALUE]),[Pro])Does this match the output you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
New_be
4 years agoHelper V
Hi sir amitchandak , can you please help me with this problem?