Excel Magic Trick 1440: OR Logical Test on 2 Columns using DAX IN Operator & DAX OR Function

preview_player
Показать описание
Download File:
See how to perform an OR Logical Test on Two Columns using the DAX IN Operator and the DAX OR Function. The goal is to create a Data Model PivotTable with Row Area Criteria that can flow into the DAX Measure for adding with on OR Logical Test on Two Columns. See the DAX Functions: CALCULATE, SUM, FILTER, ALL, IN, OR, and ROW. See how to use DAX Studio to Build & Format DAX Formulas, and to visualize DAX Formula elements to learn how the formula evaluated. Learn about using ALL Function on columns rather than the whole table in order to allow formula to iterate over a smaller number of rows. These formula work in Power BI Desktop and Excel Power Pivot.
Рекомендации по теме
Комментарии
Автор

Thanks for that lucid explanation using DAX Studio. Breaking DAX in small chunks makes it easy to understand. I like the IN operator bc it's more succinct but the OR DAX function is more Excel like.

Sal_A
Автор

Mike, you are great Teacher, explaining so clearly! I prefer IN operator as it looks neater and less typing.

vida
Автор

Nice example on using IN / OR DAX functions...thank!

DougHExcel
Автор

No Comment Mike absolutately great what you are doing
I like the IN Method it is easier than the OR Method but we have to khnow the two ways
Teacher I am looking forward to more dax videos..

mohamedchakroun
Автор

Hi Mike
Thank you for all the excel videos. It's very useful.
Would you know how to recover corrupt excel file?

pravinambhir
Автор

Excellent, I think I go with IN method.

armondnazarian
Автор

Wow, Excel is really creeping up on SQL with DAX. With a few shortcomings, Excel looks more and more like a database; for analyzing anything less than a few million records, Excel is becoming a very good tool! exciting!
Also, Mike at 12:27 your video Shows "Crtl + Z" when it should say "Crtl +V"

gilems
Автор

I need to Filter a list with 20 items. I need 18 of them. How do i filter only 2 or i need to filter 18 to exclude 2. Any Good way to do that?
I got this one but its not working:-
NOT ( table[column] IN { "item 1", "item 2" } )

are we gonna use with routine filter or what?

duafm
Автор

Beautifully explained. Thank you so much Mike !!
Is there any reason why "IN" operator is not working in my case. Very sad case.
I had to take resort to the 2nd option which worked fine.

himanshudalai
Автор

Great videos as usual!When i download your excel file in to my Excel 2016 Swedish version i cannot Edit any DAX i get error message ? MdxScript model 6, 158

daramawati
Автор

I was wondering why in DAX there is no WORKDAY.INT function and how to go around that

saddamthabit
Автор

Hi man, hope my message will find you well. I need your help in an issue about Dax measures, how can I communicate with you if you would help, please.
thanks in advance

ahmedomar-swkv
Автор

OR solution is easier to me. IN is more for Dax ninjas.😊

ljubicar