Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello all,
I really need help please help. I am new in Power BI, I used to use other Bisnis Intelengence tool that is very easy to solve this type of problem. (only with click, in calculated table, compute using table cross and choose relative to previous value).
I have a table that I would like to achieve in Result column with calculation ( Values row B/ Values row A) * 100 and continue ( Values row C/ Values row B) * 100 ..... etc :
Category | Value | Result |
A | 824 | --- |
B | 1711 | Values B/ Values A * 100 (1711/824)*100 |
C | 802 | Value C / Values B * 100 (802/1711)*100 |
D | 839 | Values D / Values C * 100 (839/802)*100 |
E | 471 | Values E / Value D * 100 (471/839)*100 |
F | 293 | Value F / Value E * 100 (293/471) * 100 |
G | 31 | Value G / Value F * 100 ( 31/293)*100 |
Any solution to help my problem here? maybe using DAX function calculate? or Power Query? or other way?
Any help would be much appreciated.
Thank you in advance
EH
Solved! Go to Solution.
@Anonymous
You need to create an index column.
Column = if('Table'[index]=1,blank(),
'Table'[value]/MAXX(FILTER('Table','Table'[index]=EARLIER('Table'[index])-1),'Table'[value])*100)
Proud to be a Super User!
@Anonymous
You need to create an index column.
Column = if('Table'[index]=1,blank(),
'Table'[value]/MAXX(FILTER('Table','Table'[index]=EARLIER('Table'[index])-1),'Table'[value])*100)
Proud to be a Super User!
Hello,
I am really really new with the Dax and Power BI, when I tried your formula, it said "the syntax of the blank is in correct. I attached the capture here. Is it my syntax wrong. Thank you in advance. EH
thank you, I will try
I solve my problem, it is matter ";" and " , " . I should use " ; " in If conditional statement 🙂
@Anonymous , is there sequence or order of these categories. Because there is nothing like last row value. So we need get the values based on logic.
On way, I think of Rank. Just Like I have used for Week
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |