Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a table with stores - each store has a format type (ex. STANDARD, MEDIUM, MINI). I have total sales for all stores. I want to create a table with all my stores and their formats and divide each store sales to total for each format type, not total sales for all formats.
I have filters for categories. Each store has categories (ex. FOOD, NON-FOOD). When I apply this filter, I want to get sales for each category, divided by total sales for each store.
I also want to divide total sales for each category (global), to total sales for each format type (global).
So basically I need two measurements:
This need to be dynamic so the filter must match the store format.
Solved! Go to Solution.
SOLVED:
Here's the solution for who's interested:
@AndreiK15 good to hear it is resolved. Don't want to go into detail. Next time when you have a question, 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.
SOLVED:
Here's the solution for who's interested:
@AndreiK15 wow, your naming is all over the place. Simple thing looking so complicated. Why not you put sample data in excel and throw formulas there. You know your data better than I do, certain things are obvious for you , not for me.
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.
@parry2k I'm looking to get total sale for site type 02 - if a store is STANDARD 2, to get total sales for STANDARD 2 for all stores. Basically what I want to do is to compare store sales ... in one hand I need to compare Share for each category - which I have it and then I need sales for each site type 02.
Ex. Store 1 - STANDARD 2 - Total Sales for the store - 100k and 25k sales for FOOD - share for FOOD is 25%
I need a column to match site type 02 for each store and get total sales for all stores for that format.
Ex. Store 1 - STANDARD 2 - Total sales for the store - 100k - Total sales for STANDARD 2 format - 500k
Store 2 - CITY 2 - Total sales for the store - 50k - Total sales for CITY 2 format - 250k
Store 3 - STANDARD 2 - Total sales for the store - 75k - Total sales for STANDARD 2 format - 500k
and then I want to divide total sale for all stores for category (ex. FOOD) to total sales for that format
and so on ...hope it make sense
I have the following measures for total sales -
@AndreiK15 are you looking for something like this, your description and column names don't match and it is all very confusing. You should add some expected results so that it is easy to provide the solution rather than spending time going back and forth.
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.
@parry2k here's the onedrive link:
https://1drv.ms/u/s!AsPHHoPRy-HShdoUb7M36aBroDB71Q?e=WtnXLp
Thank you!
@AndreiK15 unfortunately nope, can you share thru One drive/google drive
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.
@AndreiK15 it will be easier to put the solution together if you put a sample pbix file with the 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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |