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

  Рет қаралды 7,484

excelisfun

excelisfun

Күн бұрын

Download File:
Start File: excelisfun.net...
Finished File: excelisfun.net...
Entire page with all Excel Files for All Videos: excelisfun.net
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.

Пікірлер: 32
@vida1719
@vida1719 7 жыл бұрын
Mike, you are great Teacher, explaining so clearly! I prefer IN operator as it looks neater and less typing.
@excelisfun
@excelisfun 7 жыл бұрын
Thanks for your comment and support : )
@Sal_A
@Sal_A 7 жыл бұрын
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.
@excelisfun
@excelisfun 7 жыл бұрын
Yes, IN is like SQL and OR is "more Excel like" : )
@DougHExcel
@DougHExcel 7 жыл бұрын
Nice example on using IN / OR DAX functions...thank!
@gilems9
@gilems9 7 жыл бұрын
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"
@excelisfun
@excelisfun 7 жыл бұрын
Thanks for the note about "Crtl + Z" when it should say "Crtl +V"... I can no longer add annotations to the video to add a note about the incorrect keyboard because KZbin took that feature away. Power Query is very much like SQL. The Data Model and DAX is only a very small amount like SQL. However, with the Excel or Power BI Data Model, you can analysis 100 Million rows with ease and a Billion or so rows with careful model construction. Much more than a few million...
@gilems9
@gilems9 7 жыл бұрын
Damn, that's amazing... about a billion rows!
@excelisfun
@excelisfun 7 жыл бұрын
Yes, it's all about the speed of the Columnar Database and DAX, both of which are original inventions by Microsoft.
@armondnazarian4455
@armondnazarian4455 4 жыл бұрын
Excellent, I think I go with IN method.
@excelisfun
@excelisfun 4 жыл бұрын
IN : )
@mohamedchakroun4973
@mohamedchakroun4973 7 жыл бұрын
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..
@excelisfun
@excelisfun 7 жыл бұрын
Many more are coming near the end of June and into summer!!!
@mohamedchakroun4973
@mohamedchakroun4973 7 жыл бұрын
ExcelIsFun Waw great looking forward :-)
@hosseinhosseinpoor9561
@hosseinhosseinpoor9561 2 жыл бұрын
خیلی عالی
@duafm
@duafm 6 жыл бұрын
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?
@rajkumarrajan8059
@rajkumarrajan8059 3 жыл бұрын
can we use it for text values?
@pravinambhir1496
@pravinambhir1496 7 жыл бұрын
Hi Mike Thank you for all the excel videos. It's very useful. Would you know how to recover corrupt excel file?
@saddamthabit
@saddamthabit 7 жыл бұрын
I was wondering why in DAX there is no WORKDAY.INT function and how to go around that
@excelisfun
@excelisfun 7 жыл бұрын
In general, counting work days is a count row calculation, where a Calculated Column in the Date Table contains a marker for what days are work days.
@ljubicar1987
@ljubicar1987 4 жыл бұрын
OR solution is easier to me. IN is more for Dax ninjas.😊
@excelisfun
@excelisfun 4 жыл бұрын
TRUE : )
@daramawati
@daramawati 7 жыл бұрын
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 xxx......
@excelisfun
@excelisfun 7 жыл бұрын
It may be that the IN Operator has not made it into your version yet... The way that Microsoft updates different versions at different times, is really annoying. But in a few years once MS gets it all figured out, we all should be on the same time schedule.
@daramawati
@daramawati 7 жыл бұрын
Thank you for your quick answer , King Of excel ;)
@ahmedomar-sw3kv
@ahmedomar-sw3kv 5 жыл бұрын
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
@himanshudalai1028
@himanshudalai1028 6 жыл бұрын
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.
@excelisfun
@excelisfun 6 жыл бұрын
IN is not in all versions. What version do you have
@himanshudalai1028
@himanshudalai1028 6 жыл бұрын
Microsoft Office Professional Plus 2013
@excelisfun
@excelisfun 6 жыл бұрын
Excel 2016 or Office 365 has it. Power BI Desktop also.
@himanshudalai1028
@himanshudalai1028 6 жыл бұрын
Thank you so much for the information.
@excelisfun
@excelisfun 6 жыл бұрын
You are welcome, HIMANSHU!!!
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 90 МЛН
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 14 МЛН
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 8 МЛН
How to easily automate boring Excel tasks with Power Query!
17:10
MyOnlineTrainingHub
Рет қаралды 1,5 МЛН
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32
Excel Campus - Jon
Рет қаралды 194 М.
Power Query - Avoid "Helper Queries" (+10 Cool Tricks)
18:40
Get Multiple Files Containing Multiple Sheets with Power Query
8:49
MyOnlineTrainingHub
Рет қаралды 417 М.
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН