Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Aysh_2104
Helper II
Helper II

Market Share Dax to the respective category

I am working on the Market Share dax that works on the with the respective category , also which could work based on filters. Below is the sample in excel.

Aysh_2104_0-1630669138853.png

 

5 REPLIES 5
Aysh_2104
Helper II
Helper II

Hello @v-xiaotang ,

 

The Market Share dax shows the correct numbers for both all and respective category, but what is required is when i select all it shouldn't show me the volume/ total volume , it should show me the volume/respective category volume.

 VolumeMarket Share 
apple316.67%
banana1583.33%
carrot533.33%
tomato1066.67%

 

v-xiaotang
Community Support
Community Support

Hi @Aysh_2104 

I find an article, and you can take a look at it, How to Get Your Question Answered Quickly https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523#M6071...

hope it helps!

 

Best Regards,

Community Support Team _Tang

v-xiaotang
Community Support
Community Support

Hi @Aysh_2104 

in your picture, there are 3 parts, [category1/ item A / Item A1] & [category A B C] & [Item A B C]. but what's your expected result, could you add more details about it?

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

 

 

Hi @v-xiaotang ,

I select the respective category or overall category the output should give me the same. overall category should still divide the item with its category total not the over all total.

 

 

Hi @Aysh_2104 

it seems possible, but information is not really enough to go on, could you post some sample data and its expected result? not sure the structure of your data. 

 

 

 

 

Best Regards,

Community Support Team _Tang

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.