Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I will get value from table 2 to table 1 using TREATAS. TREATAS get values if both calumn value same. but i need, values not have in table 1 but value have in table 2 for compared columns. Now how to get this calumn value.
@treatas
table 1 :
| Name | Division |
| name 1 | a |
| name 2 | a |
| name 3 | b |
table 2 :
| Name | Amt |
| name1 | 21 |
| name2 | 20 |
| name 4 | 21 |
| name1 | 10 |
Now im getting result for TREATAS
| name | sum of amt |
| name1 | 31 |
| name2 | 20 |
| name3 | 0 |
But i need below result
| name | sum of amt |
| name1 | 31 |
| name2 | 20 |
| name3 | 0 |
| name4 | 21 |
Solved! Go to Solution.
Hi,
Download my PBI file from here.
Hope this helps.
Hi,
Download my PBI file from here.
Hope this helps.
That's not what TREATAS is for. You are looking for a DISTINCT(UNION()) function or similar.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 37 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |