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.
Hi, I have the following data structure.
I need a calculated column which can be calculated by dividing the following cells marked in red i.e. 1-30(as of Dec 1,2016) and 31-60(as of Jan 1,2017) This calculation also needs to be done for all the rows in the two column.
Similarly, we have to calculate another column which has the division for 31-60(as of Dec 1,2016) and 61-90(as of Jan 1,2017) and so on similar to the previous column
This needs to be done for multiple Business Units which are not captured in the screenshot.
Would appreciate your inputs!
Solved! Go to Solution.
HI @AviratG
This might get you gonig on the right path
New Col = VAR LastMonth1_30 = MINX( filter( 'Table', 'Table'[Month] = EDATE(EARLIER('Table'[Month]),-1) ), 'Table'[1-30]) VAR ThisMonth31_60 = 'Table'[31-60] RETURN DIVIDE(ThisMonth31_60,LastMonth1_30)
Hi,
My suggestion would be to unpivot the data and convert it into a 4 column one with columns for Business Unit, Month, ageing buckets and values. Then we can directly write measures to get your desired result.
HI @AviratG
This might get you gonig on the right path
New Col = VAR LastMonth1_30 = MINX( filter( 'Table', 'Table'[Month] = EDATE(EARLIER('Table'[Month]),-1) ), 'Table'[1-30]) VAR ThisMonth31_60 = 'Table'[31-60] RETURN DIVIDE(ThisMonth31_60,LastMonth1_30)
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 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |