cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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

rajendran
Community Champion
Community Champion

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? 

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors