March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Below is an example of dataset.
Date | Product | Country | Revenue |
01/01/2022 | A | Mexico | 20 |
04/01/2022 | C | US | 10 |
07/01/2022 | B | Mexico | 10 |
07/01/2022 | B | US | 10 |
07/01/2022 | B | US | 10 |
10/01/2022 | A | US | 10 |
10/01/2022 | A | US | 10 |
10/01/2022 | A | Japan | 10 |
01/01/2023 | A | Thailand | 10 |
04/01/2023 | A | Japan | 10 |
07/01/2023 | C | Vietnam | 10 |
There are slicers for Year and Quarter
I have created pages for each product.
e>ach page only shows visualization specific to its corresponding product type. For examples, I select "Filters on this page" for Product A on Product A page
I want to create a bar chart to show particular product revenue as % of total revenue.
If I select 2022 Q3 and Q4,
Total revenue = $60 (Mexico - $10, US - $40, Japan - $10)
Total Product A = $30 (US - $20, Japan - $10)
US: 50% (20/40)
Japan: 100% (10/10)
Any advice would be appreciated! Thank you!
Solved! Go to Solution.
You are welcome. PBI file attached.
Hope this helps.
Hi,
What do you mean by "I want to create pages for each product"?
Hi Ashish,
There are 3 Product Types - A, B C. I have created dedicated pages for each product, and each page only shows visualization specific to its corresponding product type.
Hi,
The total revenue of product A in Q2+Q3 is 40. Why are you treating the denominator as 50? Also, not only do you want the % calculations, you also want the count of each % bucket. Is my understanding correct?
Hi
I want the percentage of Product A revenue for each country relative to the total revenue (i.e., the sum of revenue from Product A, B, and C) for 2022 Q2 and Q3. Hence, the denominator for this calculation is 50.
Yes I want the % calculation and the count of each % bucket. There will be two buckets - 0-50% and 51-100%. Thanks.
I just do not get it. The revenue of Q2+Q3 of 2022 is 30.
So sorry I made some mistakes. I have updated the data and post. Thank you so much
Hi
The formula is exactly what I am looking for. Thank you so much!
When I create the bar chart, PowerBI doesn't allow me to put measure - Revenue share into x-axis. Do you have any idea?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |