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
Hi,
I have this DAX logic but i want to have this in the backend using Power Query. How or where do I write the following logic in Power Query please?
If(isblank(house_val), "",
If(house_val >=0 && house_val < 50000, "0-49000,
If(house_val >=50000 && house_val < 100000, "50000-990000,
If(house_val >=100000 && house_val < 500000, "100000-490000,
"500000+"))))
Solved! Go to Solution.
@M_SBS_6 , Try in Power query
if [house_val] >= 0 and [house_val] < 50000 then "0-49000" else
if [house_val] >= 50000 and [house_val] < 100000 then "50000-99000" else
if [house_val] >= 100000 and [house_val] < 500000 then "100000-490000" else
"500000+"
@M_SBS_6 , Try in Power query
if [house_val] >= 0 and [house_val] < 50000 then "0-49000" else
if [house_val] >= 50000 and [house_val] < 100000 then "50000-99000" else
if [house_val] >= 100000 and [house_val] < 500000 then "100000-490000" else
"500000+"
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!