Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
hello guys, I need some help, I made a table that contains a measure that calculates the difference between two columns and back 1 or 0, when it brings 1 it shows a red icon as below (x in red)
Solved! Go to Solution.
I exported you calculated table and applied to it your requirements.
see if it is what you are after
Hi @Spotto ,
But that's okay, I'll give an example to demonstrate how to keep the first line and delete the others.
1.Create a conditional column named Custom.
2.Select both the Nr CASO column and the Custom column, then group by
3.Add another custom column, if custom column = 1, then return the first row in the Count column, otherwise return the Count column.
4.Expand the rows and remove the unneeded columns, get the result.
Hope it helps you.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I believe that with the function table.group and table.first or table.min you could solve your problem.
if you want more specific help upload an input table so it can be copied easily.
I put the attached file, thanks for the help 🙂
it worked thanks, but the columns, formulas, measurements I did in DAX, I would have to do all of them in power query M to be able to group as you did?
From your example I even thought of using summarize but it didn't work.
Hi @Spotto ,
But that's okay, I'll give an example to demonstrate how to keep the first line and delete the others.
1.Create a conditional column named Custom.
2.Select both the Nr CASO column and the Custom column, then group by
3.Add another custom column, if custom column = 1, then return the first row in the Count column, otherwise return the Count column.
4.Expand the rows and remove the unneeded columns, get the result.
Hope it helps you.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 3 | |
| 3 |