Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I want to filter Worker table in DAX and get data like
Select * from Worker w
where w.Name <> "Once Off"
Solved! Go to Solution.
Hi, @Anonymous ;
If you only want to filter columns in visual or data view, you can directly filter like below:
If you want to use dax, you could create a measure.
flag = IF(MAX('Table'[Name])="Once Off",0,1)
then apply it into filter.
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous equivalent DAX query would be
//in SSAS
EVALUATE
FILTER(Worker, Worker[Name]<>"Once Off")
//in PBI
Table = FILTER(Worker, Worker[Name]<>"Once Off")
No any trick to filter data in new column/new measure?
Yes there is. @Anonymous but how does your data look like? Provide a sample and what is the end goal?
I want this column of Worker table in a single column this is the end goal
User | Count |
---|---|
84 | |
76 | |
74 | |
49 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |