Forum Discussion
Get array from measure
I have 100 measures like
Measure = "MU" ' as static variable, so i can easy change in one place, rather change all 100 measures
Measure2 =
Var findVal = [Measure ]
RETURN
...some code..
Measure = {"MU", "DU", "DS"}
Measure2 =
Var findVal = [Measure]
RETURN
...some code..
FILTER (
'Table1',
NOT ('Table1'[ZU0_KOD] NOT IN findVal)
)
Analitika , This is an interesting use case. And I can only say suggest something after I solve it. Would it possible to share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
- Analitika6 years agoPost Prodigy
- v-lionel-msft6 years agoCommunity Support
Hi Analitika ,
Try to do like this.
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Analitika6 years agoPost Prodigy
TY, i already did like this, but i need get this array TO variable from other Measure