DAX Fridays! #27: RELATED vs RELATEDTABLE

  Рет қаралды 62,250

Curbal

Curbal

Күн бұрын

Пікірлер: 83
@anjankumar2517
@anjankumar2517 5 күн бұрын
Just want to say Big thank you Ma'am! I really appreciate your effort. Kudos to you! my words are not enough ! Super Women!
@CurbalEN
@CurbalEN 5 күн бұрын
Thanks!
@Ikramikram-vf6fb
@Ikramikram-vf6fb Жыл бұрын
Hello Curbal I adore all your videos but I have a remark, for the related fucntion I use it now for the *:1 relationship not sure if it was not the case before but now if we want to calculate MstockValue = SUMX(Stock,Stock[Qty]*RELATED('Product1-1'[Cost Component])) and the * side is the Stock table for example it work fine
@CurbalEN
@CurbalEN Жыл бұрын
I have a part 2 where I correct my mistakes
@diego2538
@diego2538 Жыл бұрын
Gracias por el video! Hasta ahora en los casos de 1 a * hacía merges en power query para poder hacer cálculos entre tablas. Esto es justo lo que necesitaba. Un saludo
@sumitnegi9843
@sumitnegi9843 2 жыл бұрын
Please repy can we use RELATED and RELATEDTABLE in both table by adding new measure or column if we apply both directional in relationships?
@Darknesslc3
@Darknesslc3 4 жыл бұрын
thank you so much. I was wondering why use related when we already define the relationship, turns out the filter cant directly refer to other table
@graemegourlay2850
@graemegourlay2850 3 жыл бұрын
Great tutorial. I used this method to create a sort order for value on an axis. Other methods I tried were giving circular reference errors.
@sgk1966
@sgk1966 7 жыл бұрын
Hi Ruth...First I need to appreciate you for the effort, understanding and time to put out these highly helpful videos. Thank you very much. I just have a doubt on this video...regarding the data you have. I know it is sample data to explain the concept. But just curious how it would have worked out, if the item with two costs had any stock balance. In this case, how would have power BI calculated the stock value?
@CurbalEN
@CurbalEN 7 жыл бұрын
Hi Gopa, thanks! Glad you like my videos and find them helpful! :) Could you be more specific on your scenario, not sure I understand it. /Ruth
@sgk1966
@sgk1966 7 жыл бұрын
I have tweeted you with more details..Thank you..
@CurbalEN
@CurbalEN 7 жыл бұрын
+Gopa Kumar Hi, I have got any, which account did you use? /Ruth
@sgk1966
@sgk1966 7 жыл бұрын
@ruthpozuelo
@CurbalEN
@CurbalEN 7 жыл бұрын
+Gopa Kumar I haven't received anything.. what is your twitter account? /Ruth
@smanzoli
@smanzoli 4 жыл бұрын
Related also allows many to one.... but yes, not one to many.
@rolandkc
@rolandkc 7 жыл бұрын
I did not know this function. Thank you, Ruth.
@CurbalEN
@CurbalEN 7 жыл бұрын
+Roland Kc You welcome Roland! /Ruth
@BernatAgulloRosello
@BernatAgulloRosello 4 жыл бұрын
but if you are adding a calculated column in the "many" side, I think you can safely use RELATED, right? so you can't use RELATED to "jump" to the many side, so to say.
@SmartBimson
@SmartBimson 7 жыл бұрын
Hey Ruth, interesting video again 👍🏻 I usually did it in vlookup in excel and then used it in power bi, but now I'll use Dax I guess ! Thanks a lot again , esp for the Dax Friday 👍🏻👍🏻👍🏻
@CurbalEN
@CurbalEN 7 жыл бұрын
+SmartBimson Great! Better to do it in Power BI! Happy Friday Bart Simpson :) /Ruth
@SmartBimson
@SmartBimson 7 жыл бұрын
Curbal 😉👍🏻🎉
@skillguru286
@skillguru286 4 жыл бұрын
Thank you for your video- I have 5 tables and i want to have subset of the table (New) with limited number of columns. I have a column which is common in all 5 tables. How will i do this?
@lakshmischannel1884
@lakshmischannel1884 3 жыл бұрын
you can write select columns and Union I think so.. please try once
@sid0000009
@sid0000009 5 жыл бұрын
Can we have calculated tables inside RELATE function - Using that in Visual Studio for Data Modelling
@NareshKumar-hw4nl
@NareshKumar-hw4nl 6 жыл бұрын
Very helpful in understanding the concept, thx Ruth
@CurbalEN
@CurbalEN 6 жыл бұрын
You welcome :) Glad it was useful! /Ruth
@eminempollo
@eminempollo 5 жыл бұрын
The difference it that related allows just for one to one relationships while related table allows for one to many...
@giri41
@giri41 4 жыл бұрын
Could you please do a video change of dimensions by dax
@jaishreeram4177
@jaishreeram4177 5 жыл бұрын
Awesome explanation. Can you please make a tutorial video on how can we switch between N visuals using only a single button? We can do similar thing with chiclet slicer but it involves many button.
@gioratamir9578
@gioratamir9578 5 жыл бұрын
Ruth, Why isn't it possible to author a measure like Mstockvalue with RELATEDTABLE?
@ahmedal-dossary4386
@ahmedal-dossary4386 4 жыл бұрын
Amazing video, well-documented and summarized in 7:42.
@heraldfinch7010
@heraldfinch7010 4 жыл бұрын
Can you use these functions when two table don't have any relationship between them? Thanks
@robinherrick2177
@robinherrick2177 4 жыл бұрын
No. Try lookupvalue.
@giri41
@giri41 4 жыл бұрын
Genius.. bravo
@drcrod2000
@drcrod2000 7 жыл бұрын
I reference this video a lot. I seem to not be able to remember this trick every time.
@CurbalEN
@CurbalEN 7 жыл бұрын
+Caroll R. I use my videos for my own reference too :) Have a nice weekend! /Ruth
@saradachoudhury8732
@saradachoudhury8732 4 жыл бұрын
Thank you !!! very useful information.
@SamuelRoshan
@SamuelRoshan 7 жыл бұрын
How do I use Related function to get the other related table value? For example, in your video, you have onl two tables and related works well. But I have two tables that are linked via other tables inbetween. When I use Related, it only allows me to select the table that is adjacently connected, not the last table. Hope I was clear TAB1 TAB2
@Hemantshyontry
@Hemantshyontry 7 жыл бұрын
Samuel Roshan hi,did u get any answer to this?? I am also looking for an answer to this. Please let me know if u have got any explanation or way out to solve this.
@CurbalEN
@CurbalEN 7 жыл бұрын
Hi Hemant, The answer is:it depends. It depends on how the model looks like. To get an answer for your specific needs, post your question in the power bi community explaining how your model looks like and you will get help quickly. Have a nice evening :) /Ruth
@henrytran4782
@henrytran4782 3 жыл бұрын
Thank you
@CurbalEN
@CurbalEN 3 жыл бұрын
My pleasure :)
@rafalg8575
@rafalg8575 5 жыл бұрын
Hi, I have comment that „Product1-1[Cost Component]” column doesn't exist or doesn't have any relationship. It is not true because I can see relation between tables. What is the problem ?
@texmexdragon2160
@texmexdragon2160 5 жыл бұрын
In the download example, you have a 1:1 relationship between the tables, despite them having a different amount of Component records. I cannot get PowerBI to create a 1:1 relationship - Any ideas? I'm following the tutorial exactly but this issue does not allow me to continue. The other issue is that I see you get a sum on your Qty column (70), but in my version I do not get a total at the bottom for that column.
@jagadeeshpinninti
@jagadeeshpinninti 4 жыл бұрын
Please can you help I have 2 table's Table 1 Column --> Region, opening_ARC Table 2 column --> Region, Pending_ARC I need to Show Region, Opening_ARC, Pending_ARC in table If i pick region from table 1 Pending_ARC is showing wrong values, If i pick region from table 2 Opening_ARC is showing wrong values
7 жыл бұрын
Excelente como siempre! :D
@CurbalEN
@CurbalEN 7 жыл бұрын
+José Rafael Escalante Muchas Gracias José, buen Domingo :) /Ruth
@giri41
@giri41 4 жыл бұрын
dynamically
@jeremiahlobo3727
@jeremiahlobo3727 Жыл бұрын
Correction needed here : RELATED Table can be used for 1-1 and 1-Many RELATED Table : Many :1 and Many : Many
@CurbalEN
@CurbalEN Жыл бұрын
I correct myself on part 2
@anthonyscott4476
@anthonyscott4476 6 жыл бұрын
70 * 225 = 15750 NOT 1810, but 460+430+920 is. The error is in the explanation at 4:10, as the totals at the foot are the summations of the columns, so for the last three components, although the each have costs, they have no Quantity, thus their MstockValue = 0 in each case, but a very informative and interesting video nontheless.
@CurbalEN
@CurbalEN 6 жыл бұрын
Thanks for pointing that out !! :) /Ruth
@stevennye5075
@stevennye5075 5 жыл бұрын
excellent!
@CurbalEN
@CurbalEN 5 жыл бұрын
Yey!! :) /Ruth
@varing.4098
@varing.4098 5 жыл бұрын
Thank you!
@CurbalEN
@CurbalEN 5 жыл бұрын
You welcome! /Ruth
@melvin9993
@melvin9993 2 жыл бұрын
Cool
@harishpaldhir5915
@harishpaldhir5915 7 жыл бұрын
Dear madam I have a problem can u help me I have a list which i use to make pivot for my report in which i have bill no, bill date, amount etc for payment collection from my customer but this table does not have when products r deliverd to my customer and by whom this information is in another table i want to combine these two tables using bill no but cannot combine these Can u help me on this
@CurbalEN
@CurbalEN 7 жыл бұрын
+HARISH DHIR Hi Harish, Could you please post the question in the Power Bi community site with some sample data? Thanks! Ruth
@harishpaldhir5915
@harishpaldhir5915 7 жыл бұрын
Curbal Gd mng ruth I am very glad that u respond to my question i will post my question in power bi cummnity in 3 hours when i reach my office
@harishdhir6048
@harishdhir6048 7 жыл бұрын
GD AFTERNOON DEAR RUTH IT IS DIFFICULT FOR ME TO PROVIDE U DETAILS OF MY PROBLEM BY TYPING HERE CAN U SEND ME YOUR EMAIL ID SO I CAN SEND SAMPLE DATABASE ALONG WITH MY PROBLEM TO U MY EMAIL ID IS harishdhir@gmail.com i am new to youtube so difficult for me to explain my problem here it will be of great help if u give me your email id by sending me a mail on above email id
@CurbalEN
@CurbalEN 7 жыл бұрын
+Harish Dhir Hi Harish, please post your question and sample data in the power bi community. Thanks! /Ruth
@harishpaldhir5915
@harishpaldhir5915 7 жыл бұрын
Curbal dear ruth I have posted my problem with sample database in power bi community did u get it
@priviyapaulraj2645
@priviyapaulraj2645 6 жыл бұрын
in one table am having submitted, not submitted values another table am having submitted , not submitted values(i want to equal function with related) TABLE1 = TABLE2 EXPECTED SOLUTION submitted = submitted (submitted) notsubmitted= notsubmited (notsubmitted) submitted = notsubmitted (notsubmitted) notsubmited = submitted (notsubmited please kindly provide the solution shortly.
@priviyapaulraj2645
@priviyapaulraj2645 6 жыл бұрын
TABLE1(COLUMN1) = TABLE2(COLUMN1) EXPECTED SOLUTION(COLUMN1) submitted = submitted (submitted) notsubmitted = notsubmited (notsubmitted) submitted = notsubmitted (notsubmitted) notsubmited = submitted (notsubmited please kindly provide the solution shortly.
@CurbalEN
@CurbalEN 6 жыл бұрын
The power bi community is the perfect place for that, please check there! /Ruth
@lakshmischannel1884
@lakshmischannel1884 3 жыл бұрын
@@priviyapaulraj2645 ExpectedColumn = IF(Compare_Columns[Column1]="not submitted","not submitted",Compare_Columns[Column2])
@scottmcgee935
@scottmcgee935 6 жыл бұрын
How frustrating. At 6:11 into the video, a flat out inaccurate, wrong, incorrect statement is made. "This is the difference between RELATED and RELATEDTABLE is that RELATED allows just for one-to-one relationship, while RELATEDTABLE allows for one-to-many". This statement is one-hundred percent wrong. I heard this, and assumed I had misunderstood, so I watched it again. And then again. And then I tested it. And then I tested it again. And it's just wrong. Absolutely and completely wrong.RELATED looks into a related table from the "many" side to the "one" side.RELATEDTABLE looks back the other direction, from the "one" side" to the "many" side, and returns a table.Horrible.
@CurbalEN
@CurbalEN 6 жыл бұрын
Watch part 2, it gets better there ;) /Ruth
@JoshuaDHarvey
@JoshuaDHarvey 4 жыл бұрын
Jeez dude... how do you really feel? lol
@punit6490
@punit6490 4 жыл бұрын
Unnecessarily long video without flow...
@CurbalEN
@CurbalEN 4 жыл бұрын
Happy New Year!! 🎈 /Ruth
@JoshuaDHarvey
@JoshuaDHarvey 4 жыл бұрын
Dude, it's not all about you, for some people it's helpful. Be polite!
@EnneagramTarot-zu8kp
@EnneagramTarot-zu8kp 11 ай бұрын
5:50- RELATEDTABLE
DAX Fridays!# 28: RELATED and RELATEDTABLE -Part 2
7:19
Curbal
Рет қаралды 16 М.
DAX Fridays! #78: When should I use FILTER() with CALCULATE?
11:35
Yay, My Dad Is a Vending Machine! 🛍️😆 #funny #prank #comedy
00:17
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 143 МЛН
ПРЯМОЙ ЭФИР. Золотой мяч France Football 2024
4:41:06
DAX Fridays! #9: RANKX DAX Function
14:02
Curbal
Рет қаралды 81 М.
DAX Fridays! #30: SEARCH vs FIND
13:22
Curbal
Рет қаралды 26 М.
DAX Fridays! #13: EARLIER
13:52
Curbal
Рет қаралды 58 М.
DAX Fridays! #44: CROSSFILTER
9:00
Curbal
Рет қаралды 39 М.
Основы работы в Microsoft Power BI
31:43
Nikolay Pavlov
Рет қаралды 174 М.
DAX Fridays! #5: CALCULATE (Part 1)
14:29
Curbal
Рет қаралды 114 М.
DAX Fridays! #77: GROUPBY, CURRENTGROUP
12:27
Curbal
Рет қаралды 52 М.
Yay, My Dad Is a Vending Machine! 🛍️😆 #funny #prank #comedy
00:17