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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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

Anonymous
Not applicable

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.

Anonymous
Not applicable

@Anonymous 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

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.