DAX Fridays!

  Рет қаралды 9,553

Curbal

Curbal

Күн бұрын

Пікірлер
@MrAszpic
@MrAszpic 5 жыл бұрын
And there I was, using the 2nd option for big reports. Nice video, thanks for the optimization tip!
@CurbalEN
@CurbalEN 5 жыл бұрын
Thanks SQLBI, they are the masters behind the trick! /Ruth
@MrAszpic
@MrAszpic 5 жыл бұрын
@@CurbalEN True, I will start following their posts. Note on the integer thing, any mathematical operation would convert the true/false to 0/1. You could have multiplied the ISEMPTY by 1, easy peasy ;) EDIT: My bad, that's a trick we can use in Excel; Power BI needs the INT function to convert boolean (T/F) values to numeric ones (0/1)!
@CurbalEN
@CurbalEN 5 жыл бұрын
Is that so? Thanks for sharing! Pin for more visibility :) /Ruth
@MrAszpic
@MrAszpic 5 жыл бұрын
@@CurbalEN Oh, that's what can be done in Excel but it looks like PBI doesn't convert boolean to integer values with mathematical operations. Yes, the solution here is the INT function.
@CurbalEN
@CurbalEN 5 жыл бұрын
Do you want me to unpin it or is it ok to leave it so people know? /Ruth
@mttwss
@mttwss Жыл бұрын
Thanks!
@CurbalEN
@CurbalEN Жыл бұрын
And super thanks to you!!
@leybourne
@leybourne 5 жыл бұрын
Exactly what I was looking for! I couldn't find anything relevant and had to resort to the first and second methods last evening. And this morning, received the notification of this video. Thank you, Ruth! You are amazing! Wonder how I missed that Alberto Ferrari article!
@CurbalEN
@CurbalEN 5 жыл бұрын
So much information, it is easy to miss! /Ruth
@ayobamiologun9184
@ayobamiologun9184 5 жыл бұрын
Thank you Ruth. Indeed very useful... Unfortunately, I've not had any opportunity (as in challenge) to put these things into practice. Anyway, I try to ensure I watch your videos to get myself prepared for the opportunity.
@harinath4u
@harinath4u 4 жыл бұрын
Hi I have a report where I have slicers for "Category" and "SubCategory". So, if I select a category in 1st slicer and then subcategory in 2nd slicer, I see the data. Now when I select a different category in 1st slicer, my 2nd slicer still have the Subcategory from old category. How do I make my 2nd slicer to "clear all" itself if I change the Category?
@thaidude890
@thaidude890 4 жыл бұрын
Thank you. The 3rd method is a super cool tip.
@cohjues
@cohjues 4 жыл бұрын
That was awesome!!!!! I work with a Galaxy Schema and it works for me, really useful tip, you're one of my favorites youtuber ;)
@CurbalEN
@CurbalEN 4 жыл бұрын
Thanks Julian :) /Ruth
@RodWhiteley
@RodWhiteley 5 жыл бұрын
Great explanation of the trick Ruth - quick thing: "INT" is "Integer" (whole number) not Integral - don't think there are any calculus functions available in DAX :)
@CurbalEN
@CurbalEN 5 жыл бұрын
😁😁😁 I meant integer, but sometimes my English comes out a bit ... how to say...Spanglish?Swenglish?? If you watched the correlation vs causation video, you will hear me say correlationships multiple times!!! 😂😂😂 My sincerest apologies to Mr Shakespeare. When I I say weird things in Spanish I apologize to Señor Cervantes😁😁 Happy Friday ! /Ruth
@pabeader1941
@pabeader1941 5 жыл бұрын
Old trick. Excelisfun uses the int thing all the time. Might not even have to do int, might be able to do ANY math function to get a number from true false. Will have to test this.
@daniel.balandra
@daniel.balandra 5 жыл бұрын
Hey Ruth nice video! I have one question, in minute 8:53, is not easier to put the field 'Order Details' and select the option from the combo box "is not blank"?
@CurbalEN
@CurbalEN 5 жыл бұрын
I explain that in the video, check it out again :) /Ruth
@daniel.balandra
@daniel.balandra 5 жыл бұрын
@@CurbalEN 😂 lol, so so sorry i just totally focus on the third option that i totally forgot about the second one. Ok but as u said the second option it could be not good because the complexity of the measure your are using, in this case "sales", so instead of using sales you used "order details" in the third option, but my question is, instead of making a new measure with the "int" and "not is empty" function and the measure "order details", can we use use the "order detail" measure in the filter pane with the option "is not blank" from the combo box of the filter pane? Because you still have do the calc of the measure your using, in this case the complexity was in the "sales" measure...
@CurbalEN
@CurbalEN 5 жыл бұрын
Sure you can, depending on how your data and your model looks like you have those 3 options to the cascading. Happy Friday! /Ruth
@daniel.balandra
@daniel.balandra 5 жыл бұрын
@@CurbalEN thanks a lot, happy friday for you too! Wonderfull channel btw... Best regards
@sallysproat8206
@sallysproat8206 5 жыл бұрын
This is awesome! Thank you for explaining so well.
@CurbalEN
@CurbalEN 5 жыл бұрын
Thanks to you Sally for the feedback! /Ruth
@chamilam
@chamilam 5 жыл бұрын
Thanks Ruth for the great tips on INT. Didn't know it turns true and false to 1 and 0 either :)
@joaquimcosta952
@joaquimcosta952 5 жыл бұрын
It's a way to solve it, but whenever we update the report, we have to put the filter back in! ?? In my case, I put a restriction on the dax formula.
@vida1719
@vida1719 5 жыл бұрын
It was interesting to learn that INT can convert true and false into numbers, I tested this in excel and it works there as well
@CurbalEN
@CurbalEN 5 жыл бұрын
Great! Thanks for sharing! /Ruth
@duckcluck123
@duckcluck123 2 жыл бұрын
In most programming languages you can typecast booleans (true/false) to integers. Because in memory itself 'true' is just a byte with a value of 1
@EricaDyson
@EricaDyson 5 жыл бұрын
Another thing I didn't know and will definitely use! Thanks
@CurbalEN
@CurbalEN 5 жыл бұрын
Happy Friday Erica! /Ruth
@EricaDyson
@EricaDyson 5 жыл бұрын
And although you didn't know it, I had a many to many relationship which I knew I shouldn't do but couldn't think of another way (nothing to do with slicers). So you motivated me to look at this again and I solved the issue and now I have only one to manys... So a big thank you for that.
@CurbalEN
@CurbalEN 5 жыл бұрын
That is great! Well done :) 🎉🎉🎉 (Proud teacher) /Ruth
@EricaDyson
@EricaDyson 5 жыл бұрын
@@CurbalEN Ever so grateful student! Shabbat shalom as we say in this part of the world :-)
@suemeagain
@suemeagain 5 жыл бұрын
NOT works like other Boolean operators, and it does not require a bracket between it and the target expression. That’s why you can write NOT ISEMPTY without the brackets.
@CurbalEN
@CurbalEN 5 жыл бұрын
There you go! Thanks for the explanation :) /Ruth
@alejandrogonzalezbueno8044
@alejandrogonzalezbueno8044 5 жыл бұрын
Buen video! Muchas gracias Ruth!
@CurbalEN
@CurbalEN 5 жыл бұрын
A disfrutar del finde! /Ruth
@Milhouse77BS
@Milhouse77BS 5 жыл бұрын
Excellent post. I wonder if I could use INT in CALCULATE filters with TRUE/FALSE answers.
@CurbalEN
@CurbalEN 5 жыл бұрын
Try it!! And happy Friday :) /Ruth
@manliorolon3066
@manliorolon3066 5 жыл бұрын
thanks that were a real pain in the neck for a few projects.
@CurbalEN
@CurbalEN 5 жыл бұрын
Thank SQLBI ;), they are the brains behind this ! /Ruth
@impala4641
@impala4641 5 жыл бұрын
At 4.45 aprox. you said "Dependiendo what your calculation is" hehe Happens to me all the time! #spanglish Gracias for this video :)
@CurbalEN
@CurbalEN 5 жыл бұрын
Did I? First I say integral instead of integer and now dependiendo? 😂😂😂 And all that without a drop of wine! I should get a Nobel price 😁 De donde eres? /Ruth
@impala4641
@impala4641 5 жыл бұрын
@@CurbalEN You should!! jejej Soy de Bolivia! Power Bi está entrando de a poco aquí aún, tus videos son muy didácticos, nos ayudan a prepararnos a pedidos reales que pueden venir de un cliente en cualquier momento
@kennethcandelaria6080
@kennethcandelaria6080 Жыл бұрын
INT is integer; quite sure. Function to get the integer, without the decimal :-)
@chengwang411
@chengwang411 3 жыл бұрын
Great 😊
@bahman7210
@bahman7210 4 жыл бұрын
AMAZINGGGGGGGGGGGGGGGGGGGG
@CurbalEN
@CurbalEN 4 жыл бұрын
Yeeeyyyyyyyyy!! /Ruth
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Do's and Don't with cascading slicers in Power BI
9:28
Guy in a Cube
Рет қаралды 85 М.
DAX Fridays! #130: BLANK, ISBLANK
13:41
Curbal
Рет қаралды 14 М.
DAX Filter Context Basics [Full Course]
1:26:25
Pragmatic Works
Рет қаралды 71 М.
Using OR conditions between slicers in DAX
22:43
SQLBI
Рет қаралды 32 М.
DAX Fridays! #149: REMOVEFILTERS
9:56
Curbal
Рет қаралды 15 М.
DAX Fridays! #135: Linear Regression in Power BI
12:16
Curbal
Рет қаралды 40 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН