Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
need to take array from other measure
Measure = {"MU", "DU", "DS"}
Measure2 =
Var findVal = [Measure]
RETURN
...some code..
FILTER (
'Table1',
NOT ('Table1'[ZU0_KOD] NOT IN findVal)
)
Have you get the answer? I have the same problem like you. I must make Venn Diagram, but exact value not return unique value.
@Analitika , you asked a similar question about the same. what is the object here?
in Dax better to return a table
https://docs.microsoft.com/en-us/dax/datatable-function
Var can be a list, measure needs to be a value.
it is not the same, and i didint get answer
@Analitika , when what pass values from Measure. If typically test for some value like
maxx(filter(values(Table[col]), not(isblank([measure])),[Measure2])
Here non-blank value of the measure for col will pass. So what is the need in this case? Can you elaborate.
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.
Hi @Analitika ,
Try to do like this.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
TY, i already did like this, but i need get this array TO variable from other Measure
Hi @Analitika ,
But the measure does not support this grammatical structure.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
63 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |