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.
Hi ,
Is there a way Power BI can identify entries in a column as duplicates by taking into consideration the case sensitivity of the entires. I have attached a screenshot of what I want Power BI to achieve.
Thank you in advance.
Solved! Go to Solution.
@smpa01 right, so you dont want it to take the case sensitivity into account you mean?
there are 2 ways of dealing with this
if you going to work it out in power query (m) then change all text to either upper or lower case
if you going to do it in dax (which ignores it) just do a count unique = distinctcount(columnname) and place the value and the measure in your visual. dax will ignore the different cases
Proud to be a Super User!
If you want to do it "the Power Query way", just group on data and adjust the generated code as illustrated:
Note: the resulting values in the Data column will be just one of the upper/lower case data values from the source (the one that comes first). You may still want to change that to upper or lower as the next step.
Full syntax of Table.Group:
Table.Group(table as table, key as any, aggregatedColumns as list, optional groupKind as nullable number, optional comparer as function) as table
You don't need groupKind.
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 |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |