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

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.

Reply
Anonymous
Not applicable

Why I cannot see field search for column in dax code?

Hello,
can somebody explain me why I cannot see menu for filling columns name ? and for some tables I see it ?

Here I start write "X" to use X_role field but I cannot see it and use it
Snímek obrazovky 2024-11-27 231507.png

but when I try it for another column from another table it works

Snímek obrazovky 2024-11-27 231614.png
When I fill it manualy, it throws an error that column doesn t exist, but it is exists and it is defined in previous step

Snímek obrazovky 2024-11-27 232155.png
what is logic behind it? Why sometimes I can use this fields and sometimes not?


1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @Anonymous ,

 

to reference added columns in virtual tables, usually we need iterator function and use new column name directly without mentioning the virtual table name.

 

like:

 

MAXX(_table, [x_mail])

 

COUNTROWS(

FILTER(

_table,

[x_role]="X"

)

)

View solution in original post

2 REPLIES 2
shafiz_p
Super User
Super User

Hi @Anonymous ,

CALCULATE can’t directly reference columns from virtual tables. You need to materialize the virtual table and then iterate over it to perform the calculation.

 

Use itterator function, in your case use SUMX.

Hope this helps!!

If this solved your problem, please accept it as a solution and a kudos!!

 

Best Regards,
Shahariar Hafiz

FreemanZ
Super User
Super User

hi @Anonymous ,

 

to reference added columns in virtual tables, usually we need iterator function and use new column name directly without mentioning the virtual table name.

 

like:

 

MAXX(_table, [x_mail])

 

COUNTROWS(

FILTER(

_table,

[x_role]="X"

)

)

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.