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!
I have a formula for a calculated column, which shows date of following row, like this:
Solved! Go to Solution.
Hi @Ondra ,
If I understand your requirement correctly that you want to calculate the next row for serviceid.
You could create a group index column firstly with dax.
Then create the calculated column with the formula below.
Column = CALCULATE ( FIRSTNONBLANK('Table1'[serviceid],1), FILTER ( 'Table1', 'Table1'[Index] =EARLIER ('Table1'[Index] )-1 ) )
Here is the output.
You could have a look at this blog to know more about FIRSTNOBLANK().
Best Regards,
Cherry
Hi @Ondra ,
If I understand your requirement correctly that you want to calculate the next row for serviceid.
You could create a group index column firstly with dax.
Then create the calculated column with the formula below.
Column = CALCULATE ( FIRSTNONBLANK('Table1'[serviceid],1), FILTER ( 'Table1', 'Table1'[Index] =EARLIER ('Table1'[Index] )-1 ) )
Here is the output.
You could have a look at this blog to know more about FIRSTNOBLANK().
Best Regards,
Cherry
Thanks! That's what I was looking for 🙂
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 |