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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Calculated Measure

I'm attempting to create a measure that assigns a dollar amount based on [tier] and [nps level], but I need it to be in a format that I can add/sum/etc. Currently I can insert a number, but for whatever reason it isn't totaling or anything. How can I go about setting that up?:

1.PNG

3 REPLIES 3
Anonymous
Not applicable

Hey @Anonymous

 

Try this:

 

Bonus =
IF(
   [NPS Level] = "NPS Silver" && [Tier] = "3",
   30,
   SUMX(
      Table,
      IF(
         [NPS Level] = "NPS Silver" && [Tier] = "3",
         30,

         0

      )

   )

)

 

Hope this helps,

Parker

KHorseman
Community Champion
Community Champion

You've told it to only assign a value of 30 if both [NPS Level] = "NPS Silver" and [Tier] = "3". On the total row, the Tier is 1. Also there's no math in your formula so if you're expecting it to sum up all the 30's you're going to be out of luck. It will just enter 30 if the total row shows a tier of 30. You would probably need to nest this inside a SUMX to add up all the 30 values.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

@KHorseman I see, that makes sense. I'm trying to work towards building a model like this, I really just don't know how or where to begin. Complex beyond what I know how to do in Power BI:

1.PNG

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.