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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
i am trying to use DAX filter function to to create a new column based on this query, i keep getting a scalar error when i try to create the column. could someone please give me some guidance on how to create this column?
((xyz = 'CLOSED' or zxy= 'COMP' or xyz = 'CROWNER' or xyz = 'OPSDEFREV' or xyz = 'PEERREVIEW' or xyz= 'WAITINGRER') and orderedate >= TO_TIMESTAMP ('2022-01-01 00:00:00.000' , 'YYYY-MM-DD HH24:MI:SS.FF'))
Solved! Go to Solution.
Hi, @Anonymous
Please add a measure filter like:
Measure1 =
IF (
MAX ( 'Table'[xyz] )
IN { "ClOSED", "COMP", "CROWNER", "OPSDEFREV", "PEERREVIEW", "WAITINGRER" }
&& MAX ( 'Table'[orderedate] ) >= DATE ( 2022, 01, 01 ),
1,
0
)
Then apply it to table visual filter pane to filter data rows.
Best Regards,
Community Support Team _ Eason
Hi, @Anonymous
Please add a measure filter like:
Measure1 =
IF (
MAX ( 'Table'[xyz] )
IN { "ClOSED", "COMP", "CROWNER", "OPSDEFREV", "PEERREVIEW", "WAITINGRER" }
&& MAX ( 'Table'[orderedate] ) >= DATE ( 2022, 01, 01 ),
1,
0
)
Then apply it to table visual filter pane to filter data rows.
Best Regards,
Community Support Team _ Eason
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |