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
Anonymous
Not applicable

DAX - Product Wise Sales condition is Brand with 1

Hi Every one,

 

i have data like 

 

Product
20-20 Cookies
Coconut Cookies
Festo
Golden Arcs
Happy Happy
Hide & Seek
Hide & Seek BSC
Hide & Seek BSC
Hide & Seek BSC11
Krackjack
Kreams
Magix
Milk Shakti
Monaco-Salted Craker
Nimkin
Parle Actifit Digestive Marie
Parle Marie

 

 

some products having "1", those brands only getting sum. show results like below. sum should be my business equal to "Yes".

 

ProductSales
20-20 Cookies0
Coconut Cookies0
Festo0
Golden Arcs0
Happy Happy0
Hide & Seek0
Hide & Seek BSC0
Hide & Seek BSC956290883
Hide & Seek BSC110
Krackjack0
Kreams0
Magix0
Milk Shakti0
Monaco-Salted Craker808952123
Nimkin0
Parle Actifit Digestive Marie0
Parle Marie879803709
Grand Total2645046715

 

 

My actual data put in this link.

 

Regardss

venu

 

 

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

 

By my tests and research, I'm afraid that we cannot achive your desired output directly in power bi currently.

 

As you can see from your output, it seemst that you need display the Hide & Seek BSC but with different value.

 

output.PNG

 

Actually, the value will be be aggregated for your scenario.

 

If you really want to achieve the output, you could refer to my attachement. This could be a workaround.

 

Here is the output.

 

Capture.PNG

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

 

By my tests and research, I'm afraid that we cannot achive your desired output directly in power bi currently.

 

As you can see from your output, it seemst that you need display the Hide & Seek BSC but with different value.

 

output.PNG

 

Actually, the value will be be aggregated for your scenario.

 

If you really want to achieve the output, you could refer to my attachement. This could be a workaround.

 

Here is the output.

 

Capture.PNG

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.