Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I want to create a new column with a 1 when the 1st occurence of the 'Occurrences UID' column happens, and the new column to have a 0 for all other instances. In excel the formula is: =IF(COUNTIF($AO$2:AO2,AO2)>1,0,1). How could I accomplish this in Power BI?
Solved! Go to Solution.
How do you decide which is the first? ie how is the list sorted?
In this example I'm sorting by a column called amt. You can change that for however you want to sort it. RANKX also has extra parameters for ordering ascending or descending if you need it.
This worked! Thank you for your help!
How do you decide which is the first? ie how is the list sorted?
In this example I'm sorting by a column called amt. You can change that for however you want to sort it. RANKX also has extra parameters for ordering ascending or descending if you need it.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |