Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I am actually looking for a DAX query which can help me give a combination of unique values of two columns. Let me illustrate an example on the same.
item no | description | amount
1 | good | 20
1 | good | 21
1 | bad | 30
2 | good | 50
I need the table that gives me the uniqe combination of item no and description. Like
item no | description
1 | good
1 | bad
2 | good
I have used the summarizecolumns but still it gives me certain duplicates. Can someone help me on the same?
Solved! Go to Solution.
Hi @sid-poly ,
I have tried @amitchandak approach, when I add up the description It doesn't get duplicated.
Table 2 = SUMMARIZE('Table','Table'[item no],'Table'[description])
If I have misunderstood your meaning, please provide more sample data and your desired output.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @sid-poly ,
I have tried @amitchandak approach, when I add up the description It doesn't get duplicated.
Table 2 = SUMMARIZE('Table','Table'[item no],'Table'[description])
If I have misunderstood your meaning, please provide more sample data and your desired output.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @amitchandak
I have done it but eventually when I have only item number I have correct values, but when I add up the description It gets duplicated.
I see that is because item no remains same and description changes, I want to pick the first one from here.
Can you help me on the same?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
15 | |
12 | |
11 | |
10 | |
9 |