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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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