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
Solved! Go to Solution.
Hi @prakash11440278,
In order to create this visualisation now you should use the "customer" field from the new table you created.
Best,
Kris
Hi @prakash11440278,
In order to create your relationship you should first create a table that contains all the unique values from the columns that you wish to create the relationship on. I've assumed both tables have a column called Customer. Create a new Table using the measure
Customers = DISTINCT(UNION
(SELECTCOLUMNS(Table1,"Customer",[Customer]),
SELECTCOLUMNS(Table2,"Customer",[Customer])))
This measure will create a union of the 2 customer columns and then remove all duplicates leaving you with all your distinct customers. You can then create a relationship in the relationship window as follows
Alternatively (this would be my prefered method), if you wished to do this in the query editor, you could append the 2 tables that you require to relate (as a new query) and keep only the column you wish to create a relationship on. A quick removal of duplicates and you have your distinct customer table. You can then create the relationship as above.
Hope this helps.
Regards,
Kris
Alternatively (this would be my prefered method), if you wished to do this in the query editor, you could append the 2 tables that you require to relate (as a new query) and keep only the column you wish to create a relationship on. A quick removal of duplicates and you have your distinct customer table. You can then create the relationship as above.
does not work i tried.
Harsha
Hi kriscoupe,
Thanks for your reply.
I created new a table, as suggested below. Still the issue remains same. Please find the attached screen shot.
Hi @prakash11440278,
In order to create this visualisation now you should use the "customer" field from the new table you created.
Best,
Kris
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 |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |