Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Community,
Please help me in fixing this issue . I have created a table with 3 different columns and want to get distinct values from each column . I am getting duplicates with the below query . Please check and let me know on how to get distinct values .
Table =
Var a = SELECTCOLUMNS('Product & Apps Incident Query',"Product ID",('Product & Apps Incident Query'[Product_Id]),"Product Name",('Product & Apps Incident Query'[product_name]),"Support Group",('Product & Apps Incident Query'[Assigned_Group]))
Var b = SELECTCOLUMNS('Product & Apps WO Data',"Product ID",'Product & Apps WO Data'[Product_Id],"Product Name",('Product & Apps WO Data'[Product_Name__2_]),"Support Group",('Product & Apps WO Data'[ASGRP]))
return UNION(a,b)
Thanks,
G Venkatesh
Hi @Anonymous ,
Could you share some sample data and the results you expect based on this data?
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous Maybe: return DISTINCT(UNION(a,b))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 44 | |
| 40 | |
| 29 | |
| 19 |
| User | Count |
|---|---|
| 200 | |
| 126 | |
| 103 | |
| 70 | |
| 53 |