The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
@Anonymous hey sorry your requirement is not clear, can you put sample data and also expected output.
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.
My apologies
Here is one of the tables I am working with. There is also a column called "units" which has been cut off
The QTY1 and QTY2 values are sourced from a table where those are rows in a column called Category. There are six other values in addition to the QTY1 and QTY2
I would like to do calculations with those values, so I created two measures which calculate the total in each category (one for QTY1 and one for QTY2). After that, I created another measure which subtracts the two (QTY1-QTY2). That's what I wanted to do, but the problem is that there are 8 other values I would like to subtract, and there are quite a few combinations to create measures for each and every one.
I was wondering if there is any DAX I can write to make it possible to do these types of calculations for more than two specific values. I hope I cleared things up for you. Thanks so much for your time.
@Anonymous i'm still not very clear. Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
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.
User | Count |
---|---|
14 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
28 | |
19 | |
14 | |
8 | |
5 |