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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
MichaelHutchens
Helper IV
Helper IV

Error in DAX summary table with filters

Hi everyone, I'm hoping this is relatively simple - I'm getting the error below when creating a summary table in DAX - might someone know what I'm doing wrong?

MichaelHutchens_0-1699382035230.png

Here's my code:

 

Table3 = 
    SUMMARIZE (
    'Employee',
	'Employee'[Employee Name],
	'Employee'[Email Address],
	'Employee'[Employee ID],
	'Employee'[Employee Status],
	'Employee'[Current Employee Email Record]
    )
    FILTER (
        'Employee',
        'Employee'[Current Employee Email Record] = "Y"
		&& NOT ( 'Employee'[Employee Status] ) IN { "Withdrawn" }
    )
)

 

1 ACCEPTED SOLUTION
syasmin25
Helper V
Helper V

Hi Michael, 

Please try this out, 

 SUMMARIZECOLUMNS(

 

    'Employee'[Employee Name],
    'Employee'[Email Address],
    'Employee'[Employee ID],
    'Employee'[Employee Status],
    'Employee'[Current Employee Email Record],
    FILTER (
        'Employee',
        'Employee'[Current Employee Email Record] = "Y"
        && 'Employee'[Employee Status] <> "Withdrawn" 
    )
)

View solution in original post

2 REPLIES 2
syasmin25
Helper V
Helper V

Hi Michael, 

Please try this out, 

 SUMMARIZECOLUMNS(

 

    'Employee'[Employee Name],
    'Employee'[Email Address],
    'Employee'[Employee ID],
    'Employee'[Employee Status],
    'Employee'[Current Employee Email Record],
    FILTER (
        'Employee',
        'Employee'[Current Employee Email Record] = "Y"
        && 'Employee'[Employee Status] <> "Withdrawn" 
    )
)

Thank you, that's perfect!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.