Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I need
I have input like the above image
and want output like below image using Dax measures
Thanks in advance
Solved! Go to Solution.
@somya_jain , in DAX you have use summarize and union
Try lik
SUMMARIZE(
Union(
selectcolumns(Table, "Team",Table[HomeTeam], "Goal",Table[Home Goal]),
selectcolumns(Table, "Team",Table[awayTeam], "Goal",Table[Away Goal])
),[Team] ,"Goal", sum([Goal]))
https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/
@somya_jain , in DAX you have use summarize and union
Try lik
SUMMARIZE(
Union(
selectcolumns(Table, "Team",Table[HomeTeam], "Goal",Table[Home Goal]),
selectcolumns(Table, "Team",Table[awayTeam], "Goal",Table[Away Goal])
),[Team] ,"Goal", sum([Goal]))
https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/
Hi,
You can use the "GroupBY" transformation in the query editor to get this output.
Appreciate a Kudos! 🙂
If this helps and resolves the issue, please mark it as a Solution! 🙂
Regards,
N V Durga Prasad
Thanks for your help but I was looking for solution using dax