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.
Hi guys,
I need to create a measure that sum some values, but using the not filter. How do I do this measure in DAX?
FILTER(Table, NOT (TYPE IN {"A","B"})
IF( Date1 <= maxDate,
sum(value1) +
if( date2 >maxDate, sum(value2),0)
,0)
In qlikview i have the formula as below:
Sum (
{<TYPE-= {"A", "B"}>}
If ( Date1 <= maxDate ,
value1+ If ( date2> maxDate, value2, 0)
, 0
)
)
I tried to do in dax:
Hi @twister8889
I am so sorry that I don't fully understand what you mean .
Could you provide some data or sample that can explain the needs you want ? It may help us to deal with the issue easier .
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@twister8889
Can you share some sample data and the expected result to have a clear understanding of your question?
You can save your files in OneDrive, Google Drive, or any other cloud sharing platforms and share the link here.
____________________________________
How to paste sample data with your question?
How to get your questions answered quickly?
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
User | Count |
---|---|
84 | |
76 | |
75 | |
43 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |