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! Request now
I have a history table with ticket data with duplicates tickets.
I want to find which tickets has only one entry in table.
I want to set some flag value using calculated column. If the ticket exist only once the flag will be Y else N.
How I can do this using dax.
HI @DiKi-I ,
you can watch this video for details : (27) Find Duplicate Values in Dimension Tables - YouTube
Essentially the DAX code for a calculated column is on 3:46 of the video as shown below. Modify this for your data. This will count the number of duplicates in the column specified.
Then you can create a measure/ column whichever you need for the flag.
IF( table[check] = 1 ,"Y","N") or use switch true.
if this doesn't resolve the issue, please share a sample input and output with masked data.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 71 | |
| 50 | |
| 47 | |
| 44 |