We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi
I have the following Import Mode table named 'Sales':
I also have the following Direct Query table named 'Branch':
I would like to perform a SUM on the Amount column, per TYPE and return those calculated values to the Sales table. The end result should look like the following table:
Ther are no relationships joined/connected between the tables. However, the joining fields would be Sales[Ref No.] to Branch[Code].
How do I complete this in DAX?
Thanks.
Solved! Go to Solution.
Hi @D_PBI ,
If you don't want to create a relationship, you can try creating a calcualted table using DAX.
Table 2 = FILTER(CROSSJOIN('Table','Table_1'),[Ref No.]=[Code])
It's the result.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous - thank you.
Hi @D_PBI ,
If you don't want to create a relationship, you can try creating a calcualted table using DAX.
Table 2 = FILTER(CROSSJOIN('Table','Table_1'),[Ref No.]=[Code])
It's the result.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ok
how to do that with in power query by merging and group by
BUMP.
Thanks for your efforts but you cannot do that with a composite model.
Hi
No need for DAX. You can do this easily with Matrix visualization
No, you can't. You need a method to join the two tables via DAX. There is no relationship set up in the model pane. I need to understand how to achieve my request in the OP.
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 38 | |
| 33 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 66 | |
| 41 | |
| 34 | |
| 25 |