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

Be 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

Reply
nmckbcs
Helper I
Helper I

Question about a SUMIF calculation in Power BI

Hello, 

I have a formula that I was able to create in both Power BI and Excel. However, In Power BI I lost the functionaility that I really needed. Essentially I have all these different methods for which a customer can contact us and the for each method there is a calculation associated with their satisfaction. Essentially in Power BI I would like to be able to replicate what I can do in Excel. Basically, I need to be able to show the question column name and the results for each (this is a net promoter score calculation with a weight associated with it). I would like to be able to show the below numbers and color only those where the count of customers is greater than 50 (as an example) and the green and red colors would be based on the scores provided. Links to the files are below. My big problem is the inability to color code or exclude fields if the response count isn't over a specific number and then color coding the columns individually based on the scores provided.

 

Screen Shot 2018-07-17 at 8.43.34 PM.pngScreen Shot 2018-07-17 at 8.44.06 PM.png

 

https://drive.google.com/open?id=1sCdZnJSTtpwWhgGeUXc08wmbkImDAK26 

 

https://drive.google.com/file/d/15iHZiuEb0MQt_OkAWYB9Yu-R9blg-1oX/view?usp=sharing 

6 REPLIES 6
nmckbcs
Helper I
Helper I

Hello, 

I have a formula that I was able to create in both Power BI and Excel. However, In Power BI I lost the functionaility that I really needed. Essentially I have all these different methods for which a customer can contact us and the for each method there is a calculation associated with their satisfaction. Essentially in Power BI I would like to be able to replicate what I can do in Excel. Basically, I need to be able to show the question column name and the results for each (this is a net promoter score calculation with a weight associated with it). I would like to be able to show the below numbers and color only those where the count of customers is greater than 50 (as an example) and the green and red colors would be based on the scores provided. Links to the files are below. My big problem is the inability to color code or exclude fields if the response count isn't over a specific number and then color coding the columns individually based on the scores provided. Please note, the main thing is that I need to figure out how I can leverage the conditional formatting for the color requirement. Even if the process is manual that is OK also!

 

Screen Shot 2018-07-17 at 8.43.34 PM.pngScreen Shot 2018-07-17 at 8.44.06 PM.png

 

https://drive.google.com/open?id=1sCdZnJSTtpwWhgGeUXc08wmbkImDAK26 

 

https://drive.google.com/file/d/15iHZiuEb0MQt_OkAWYB9Yu-R9blg-1oX/view?usp=sharing

Anonymous
Not applicable

Hi @nmckbcs

 

Just provided solution in another thread, i hope you will get an idea if you refer this.

 

http://community.powerbi.com/t5/Desktop/Conditional-formatting-based-on-multiple-conditions/m-p/4648...

 

Thanks

Raj

 

It makes a little sense but would need to know how to apply that to my issue. Any suggestions? 

Anonymous
Not applicable

Can you explain what issue you are facing in conditional formatting? As per your email, you are able to get the values and you can do formatting for each column based on the value.....

 

Thanks

Raj

I have in excel but not Power BI

Hi @nmckbcs

 

I would suggest you transform your data structure then it would be easy. Please refer to the demo in the attachment.

Question_about_a_SUMIF_calculation_in_Power_BI

 

 

Best Regards,

Dale

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.