Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
Is there a formula I can use that can be a continuous if then statement without having to write it all out?
So far this is my formula for Jan 1,2014:
Solved! Go to Solution.
hi @Anonymous
The simple way is use RANKX Function to create a calculate column
Column=RANKX('Date',[Date],,ASC)
and here is sample pbix file, please try it.
Regards,
Lin
hi @Anonymous
The simple way is use RANKX Function to create a calculate column
Column=RANKX('Date',[Date],,ASC)
and here is sample pbix file, please try it.
Regards,
Lin
thank you so so much!
Sarah
And maybe this will help:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Sequential/m-p/380231#M116
@Greg_Deckler this is great! but how do i show it over the years? so 1/1/2014 would be 1, but 1/1/2015 would be 366, 1/1/2016 would be 732 (bc of leap year)
Right, that was the purpose of Sequential, to give a sequential number that spanned years. I think I did it based on weeks and not days but should be relatively easy to modify for days. You may have to scroll through the entire thread because I think there were some bug fixes. I have the official version in my book which I believe had all of the bug fixes and other improvements that I came up with. Let me know if you need some help modifying it. I can probably find some time to go grab my latest code from my book and modify it for day instead of week.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |