Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I created a measure to group my customer price types (cpt) into margin groups after giving them a rank for margin contribution but I keep getting an error message displayed below.
This is the formula here, It came out perfect, essentially I am just trying to give my Customer Information [cpt] a grouping score based on their gross margin rank. Any help would be appreciated!
here is my new table i create dfor my margin ranking groups
Solved! Go to Solution.
Hi @cdawidow ,
In your measure you are using comparison operators. Try converting your MIN ans MAX columns to NUMERIC data-type, currently they are TEXT.
Thanks,
Pragati
Hi @cdawidow ,
In the Rank you are comparing an integer value with MIN.
Change MIN and MAX to integers in Power Query.
Regards,
Harsh Nathani
Hi @cdawidow ,
In your measure you are using comparison operators. Try converting your MIN ans MAX columns to NUMERIC data-type, currently they are TEXT.
Thanks,
Pragati
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 9 | |
| 9 | |
| 8 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 20 | |
| 18 | |
| 16 | |
| 14 | |
| 14 |