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.
In query editor, create an index from 1, then create a calculate column using dax below:
Result = VAR Current_Index = 'Table'[Index] VAR Current_Value = 'Table'[value] RETURN IF(MOD(Current_Index, 2) <> 0, Current_Value / CALCULATE(MAX('Table'[value]), FILTER('Table', 'Table'[Index] = Current_Index + 1)))
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Could you please share the sample data and give the expected result?
Regards,
Jimmy Tao
Can you please rephrase your question. Its not clear
Proud to be a Super User!
KPIs value
ABC 18
ade 18
wade 27
def 27
I want to divide the row's value by each other
i.e wade/def
ABC/ade
I need a DAX expression what would help achieve this
In query editor, create an index from 1, then create a calculate column using dax below:
Result = VAR Current_Index = 'Table'[Index] VAR Current_Value = 'Table'[value] RETURN IF(MOD(Current_Index, 2) <> 0, Current_Value / CALCULATE(MAX('Table'[value]), FILTER('Table', 'Table'[Index] = Current_Index + 1)))
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
106 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
147 | |
107 | |
105 | |
87 | |
61 |