Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dear community,
I am facing a challenge to group sales from a fairly simple table.
The table have total sales generated on both "OrderType" and "SalesChannel" which sums up to the same. However I would like to change the setup with the following needs, preferably through dax (running direct query):
The decired result you can see on the right hand side.
Thanks in advance.
Hi Eason,
Thanks a lot for the help. It all make sense, except the "Online Sales" line as I cant get it to subtract the [Providers Sales]. Do I need a RemoveFilter to calculate the [Providers Sales] or how do I get it to link with the "Online Sales" row?
Thanks in advance.
Hi, @Molin
You may need create another measure like:
New Sales =
SWITCH (
MAX ( 'Table'[Provider] ),
"Dining-In Sales", BLANK (),
"Pick-Up Sale", 0,
"Online Sales", [Online Sales] - [Providers Sales],
[Sales]
)
Best Regards,
Community Support Team _ Eason
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
12 | |
10 | |
10 | |
6 |