Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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?:
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
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 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:
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 37 | |
| 34 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 74 | |
| 70 | |
| 37 | |
| 35 | |
| 25 |