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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
StijnHH
New Member

How to Make Calculated Columns Available for Grouping in Power Query

Hi everyone,

 

I am learning PowerBI and having some trouble with making a calculated column available for grouping in Power Query. I have a calculated column:  ProductPriceCategory that I created using DAX in Power BI. However, when I go to the Power Query Editor (Transform Data), I can't see this column there. Here’s how I created the column:

 
DAX
ProductPriceCategory =
IF(
[ProductPriceZscore] >= 2.5,
"Top category",
IF(
[ProductPriceZscore] >= 1 && [ProductPriceZscore] < 2.5,
"Premium category",
IF(
[ProductPriceZscore] >= 0 && [ProductPriceZscore] < 1,
"Standard category",
"Value category"
)
)
)


 

2 ACCEPTED SOLUTIONS
HotChilli
Super User
Super User

"when I go to the Power Query Editor (Transform Data), I can't see this column there" - this is correct behaviour.

You don't see DAX calculated columns in Power Query.

Add a custom column in power query instead

View solution in original post

DataInsights
Super User
Super User

@StijnHH,

 

Power Query can't see DAX calculated columns. You can create that column in Power Query using "if-then-else" syntax.

 

https://gorilla.bi/power-query/if-function-in-power-query/ 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

4 REPLIES 4
DataInsights
Super User
Super User

@StijnHH,

 

Power Query can't see DAX calculated columns. You can create that column in Power Query using "if-then-else" syntax.

 

https://gorilla.bi/power-query/if-function-in-power-query/ 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Seems that I used the wrong window within PowerBi, many thanks!

HotChilli
Super User
Super User

"when I go to the Power Query Editor (Transform Data), I can't see this column there" - this is correct behaviour.

You don't see DAX calculated columns in Power Query.

Add a custom column in power query instead

Thank you very much for your response.

Am I unable to see the DAX calculated columns in power Query, because they are only performed after they are loaded? 

From now on I will create a custom column and group it that way instead.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.