Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
We have something like this with various pricing. The fixed price is including a certain amount of users and then the additional users are charged on top of that. Some examples:
Small Users Package (Including 50 Users) | Additional Price per user (Above 50)
$99 $1.98
Medium Users Package (Including 500 Users) | Additional Price per user (Above 500)
$799 $1.60
For data we have:
Company Name | User Amount | Pricing
Test Company 100 198
Now a company could be in a 'non-ideal' pricing deal and I'd like to calculate when it becomes cheaper to move to a Medium package for example. What calculation or dax logic would have to be used?
Thanks!
@Anonymous - Here is one way to do it. See Table (33) of attached PBIX below sig.
Column =
VAR __Table = GENERATESERIES([User Amount],500,1)
VAR __Table1 = ADDCOLUMNS(__Table,"Price",[Pricing] + ([Value] - [User Amount])*1.98)
VAR __UserCount = MINX(FILTER(__Table1,[Price]>=799),[Value])
RETURN
__UserCount
It's basically an implementation of a psuedo-While loop.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
9 |