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
Hi Expert
I have a fact table which give me the following when field values are added to a standard table (AS-IS)
Grp_ID | Metric | £ |
a1 | Sale | 647 |
a2 | Frieght Level1 | 520 |
a3 | Feight Level2 | 45 |
I would to sum Grp_ID a2 +a3 to show that data as
a1 | Sale | 647 |
a2+a3 | Total Freight | 565 |
is it possible to the above using a DAX measure - my current measure is
Solved! Go to Solution.
@Anonymous this is what I will do to keep it simple, add new column:
New Group Id =
IF ( Table[Grp_Id] IN { "A2", "A3" }, "A2+A3", Table[Grp_Id] )
New Metric =
IF ( Table[Grp_Id] IN { "A2", "A3" }, "Total Freight", Table[Metric] )
In visual, use New Group Id, New Metric, and SUM of the amount and all should work as expected.
Check my latest blog post Improve UX: Show Year in Legend When Using Time Intelligence Measures | PeryTUS IT Solutions I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Anonymous this is what I will do to keep it simple, add new column:
New Group Id =
IF ( Table[Grp_Id] IN { "A2", "A3" }, "A2+A3", Table[Grp_Id] )
New Metric =
IF ( Table[Grp_Id] IN { "A2", "A3" }, "Total Freight", Table[Metric] )
In visual, use New Group Id, New Metric, and SUM of the amount and all should work as expected.
Check my latest blog post Improve UX: Show Year in Legend When Using Time Intelligence Measures | PeryTUS IT Solutions I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Thanks parry2k, let me apply that and report back with feedback.
User | Count |
---|---|
64 | |
59 | |
47 | |
33 | |
32 |
User | Count |
---|---|
84 | |
75 | |
56 | |
50 | |
44 |