Forum Discussion
IcingOnTheCake
Helper III
2 years agoDo a select * for certain cases in DAX query
Dear Experts, I need help for the bold red part please. Actually I would like to do a select all. Or to talk in sql: 'Product'[Product Hierarchy Level 2 Code] = * How can I achieve that pleas...
AlexisOlson
Super User
2 years agoDoes this work?
[...]
FILTER (
VALUES ( 'Product'[Product Hierarchy Level 2 Code] ),
PATHCONTAINS ( @P_PL2, 'Product'[Product Hierarchy Level 2 Code] )
|| TRIM ( @P_PL2 ) = ""
)
[...]IcingOnTheCake
Helper III
2 years agoThanks and "good idea"! It runs. But then again "no rows found" 😞