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
ArtPriIi
New Member

Dax how to use column instead of measure

I am stuck here.  I want to use in this dax query "handled-interactions-vw[xxx]" instead of the measure [team avg csat1]. How would the dax query look like?

 

Team Avg  CSAT1 Latest Period =

IF( MAX('Period Selected'[Sort Order])= 1,

CALCULATE(

    [Team Avg  CSAT1],

    star_date_filter_vw[d_filter] in VALUES(DimSlicer[Measure1])

),

    [Team Avg  CSAT1]

)

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @ArtPriIi ,

Try the following DAX:

Team Avg  CSAT1 Latest Period =
IF(
    MAX('Period Selected'[Sort Order])=1,
CALCULATE(
    SUM('handled-interactions-vw'[xxx]),
    FILTER(ALL(star_date_filter_vw),'star_date_filter_vw'[d_filter] IN VALUES('DimSlicer'[Measure1]))),
    SUM('handled-interactions-vw'[xxx]))

If your expected results are not met, Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi  @ArtPriIi ,

Try the following DAX:

Team Avg  CSAT1 Latest Period =
IF(
    MAX('Period Selected'[Sort Order])=1,
CALCULATE(
    SUM('handled-interactions-vw'[xxx]),
    FILTER(ALL(star_date_filter_vw),'star_date_filter_vw'[d_filter] IN VALUES('DimSlicer'[Measure1]))),
    SUM('handled-interactions-vw'[xxx]))

If your expected results are not met, Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Community Champion
Community Champion

@ArtPriIi You need to wrap your column in an aggregation like MAX, MIN, SUM, etc.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler  How do I do that as i want those column as is. also 1 is a freetext field. is. I am not sure how the dax query would look like. I need some help on the dax qeury

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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.