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.
Hi,
Relatively newbie in Power BI here. I have grind to a halt on an issue that I have no idea on how to solve.
I have huge table of weekly data of a few product categories (not the entire market) and the total market, simplified below. I would like to create a measure that calculates a percentage share of "Total Market". Or, maybe there are better ways than measures to solve this?
Product category | Value | % Share |
A | 10 | 1,7 % |
B | 20 | 3,3 % |
C | 30 | 5,0 % |
Total Market | 600 | 100,0 % |
Thanks in advance for any assistance.
/depple
Solved! Go to Solution.
Hi @depple,
You mean you do the work in Excel? Maybe you can do it simply as the snapshot shows.
Best Regards,
Hi,
In your actual PBI file, won't the Total Market row be a summation of the individual values appearing in the column above? If not, then how do you get the value for the Total market row.
Ashish,
It is actually about the source of the data and the row limitations in Excel. I have to limit the extraction to aggregating the market to a total.
I will look for another angle than my current dataset.
Hi @depple,
You mean you do the work in Excel? Maybe you can do it simply as the snapshot shows.
Best Regards,
The total is a part of the category data, not total for column in the dataset.
As it appears that there are no obvious solutions for my initial problem, I will try to work on my dataset instead, and then see if I can tweak it to do it your way.
Thanks!
/depple
@depple you can surely write a measure to achieve this or look at the quick measure gallery and it will have the calculation to achieve it.
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 |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |