Тёмный

Distinguishing HASONEVALUE from ISINSCOPE 

SQLBI
Подписаться 103 тыс.
Просмотров 23 тыс.
50% 1

This video describes the differences between HASONEVALUE and ISINSCOPE, which are two useful DAX functions to control the filters and the grouping that are active in a report. Article and download: sql.bi/662962?aff=yt

Наука

Опубликовано:

 

21 июн 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 30   
@kadirkkkk
@kadirkkkk 2 года назад
I'm a PowerBI profession in Turkey. Spend more than a full year just on PowerBI. I follow like about 10 channels in youtube and only you always have the solutions for my toughest problems. You rock !
@danielsiffredi8403
@danielsiffredi8403 4 года назад
Excellent video , loving the fact that you are teaching the difference and also the impact on performance using one or the other. Keep content like this coming please !!!!
@niavras
@niavras 3 года назад
Very helpful videos! Correct length, clever and easy examples. It is obvious that you try to find the best way to transfer your knowledge. Thank you very much once again for your efforts!
@mwaltercpa
@mwaltercpa 3 года назад
Thanks Alberto, great stuff as usual. Good to know that ISINSCOPE relies on visible values in the visual.
@shahabhaidar243
@shahabhaidar243 4 года назад
This is just an awesome explanation i have ever seen. you're a champion @Alberto.
@1sefirot9
@1sefirot9 4 года назад
Really like this format of relatively short focused videos that cover well just one small aspect of DAX. In a year or two this series could amount to a nice companion to any DAX learning process. Btw, I think the example with RANKX gave me a hint related to an issue I had with using dense RANK vs skip RANK. Dense was returning correct results, while skip seemed to go through hundreds of thousands of rows when just a few hundreds were expected to be ranked, seems it happens because it ranks all the zero values which are hidden by the filter context but still ranked by Skip RANKX, while dense allocates at most +1 rank to all the zeros. Need to revisit those measures and look into it again.
@joaocampeloribeiro6038
@joaocampeloribeiro6038 2 года назад
Absolutely Brilliant!
@tibobago
@tibobago 3 года назад
Thanks Alberto. I think isfiltered and iscrossfiltered have their place in that video. There might be more actually but these come to mind
@jeffhoney100
@jeffhoney100 Год назад
Explained it 5 times the same way, couldn't have done better with this video. Beginners would be confused
@virensinkar4522
@virensinkar4522 4 года назад
Great Explaination Sir.
@andreweagleton8879
@andreweagleton8879 2 года назад
This is great but would be even better to have a summary of the whole family e.g. including HASONEFILTER, ISFILTERED, ISCROSSFILTERED with the performances differences...
@tangtom2478
@tangtom2478 4 года назад
Useful contents, I know why my ranking measure by date is taking forever to calculate!
@lukeminikoski
@lukeminikoski 4 года назад
Perfect!
@papachoudhary5482
@papachoudhary5482 4 года назад
Thanks! Sir
@mshparber
@mshparber 4 года назад
I have two Fact tables: Actual and Budget. I want "Actual Amt" measure to show blank each time when a user puts in pivot ANY column from Budget table. Also I want a "Budget Amt" measure to return blank each time a user uses ANY column from Actual table. What condition should I use? Thanks!
@albertoferrari6893
@albertoferrari6893 4 года назад
For that, you need to play with ISFILTERED and/or ISCROSSFILTERED.
@sr5726
@sr5726 Год назад
In dax guide there is a statement "When ISINSCOPE returns TRUE, then also HASONEVALUE returns TRUE." I think this needs correction. eg. in matrix grouped with brand, when are there no sales say in 2010 CY, isinscope = true but hasonevalue=false
@SQLBI
@SQLBI Год назад
On which column are you applying HASONEVALUE?
@alirezamogharabi8733
@alirezamogharabi8733 4 года назад
Thanks a lot for this great explanation 🙏 I have a question: When we use some columns in SUMMARIZECOLUMNS or ADDCOLUMNS, How this columns effect on EXPRESSION? as filter context or row context?
@SQLBI
@SQLBI 4 года назад
With SUMMARIZECOLUMNS you have a filter context, whereas with ADDCOLUMNS you have a row context. Check details here: dax.guide/summarizecolumns/ dax.guide/addcolumns/
@alirezamogharabi8733
@alirezamogharabi8733 4 года назад
@@SQLBI Thanks a lot 🙏
@syrophenikan
@syrophenikan 2 года назад
Love your content. One question: Do you live in Pee Wee's Playhouse?
@happyvinod3320
@happyvinod3320 3 года назад
Pls comment answer it's very confusing
@happyvinod3320
@happyvinod3320 3 года назад
Slicer but not a page-level filter is used in a scenario where the data in only a few visualizations is to be filtered while others remain the same. 1. True 2. False
@SQLBI
@SQLBI 3 года назад
Please, can you clarify the question?
@happyvinod3320
@happyvinod3320 3 года назад
@@SQLBI actually This is the question that I was faced in a interview. And I choosed False as answer. And I was proved wrong
@SQLBI
@SQLBI 3 года назад
Sorry for that, but the question is really confusing!
@happyvinod3320
@happyvinod3320 3 года назад
@@SQLBI Yes..
Далее
When to use KEEPFILTERS over iterators
18:56
Просмотров 47 тыс.
ISINSCOPE Function DAX Implementation
12:39
Differences between GROUPBY and SUMMARIZE
28:30
Просмотров 33 тыс.
Understanding data lineage in DAX
18:14
Просмотров 29 тыс.
Propagating filters using TREATAS in DAX
19:18
Просмотров 43 тыс.
Introducing RANKX in DAX
19:42
Просмотров 29 тыс.
Using GENERATE and ROW instead of ADDCOLUMNS in DAX
12:26
Introducing LOOKUPVALUE
7:00
Просмотров 22 тыс.