Displaying only child values in parent-child - Unplugged #46

  Рет қаралды 11,027

SQLBI

SQLBI

Күн бұрын

Пікірлер: 19
@danyo101
@danyo101 2 ай бұрын
Wow. I was trying to realize this since two working days. I did all other tutorials and nothing worked. Big thank for you effort.
@ajmorgan591
@ajmorgan591 Жыл бұрын
@9:23 the "Total" value for the "No Agg" measure is blank. How to populate (with 220 in this case)?
@janp3648
@janp3648 Жыл бұрын
Wow ! Thank you for this video. Very interesting user case and solution. I never hear about PATH before so very nice introduction.
@kunwang2279
@kunwang2279 Жыл бұрын
Great video as always. But seems that DAX could only handle balanced hierarchy, which means one child always belong to one parent like Year-Quater-Month. I am wondering if unbalanced hierarchy like BOM could handled in power bi. for example, Component A (1 PC) is composed of B (2PC) , C(3PC), D(4PC), while B (1PC) again is composed of C(2PC) and E(1PC), then C (1PC) again is composed of D(3PC) and F(1PC) , and all these information is stored in a single table with 3 column, parent, component, qty. Then how could this hierarchy information be shown in power bi with Dax, and how to extend the BOM of component A to only include the lowest level with the quantity D (25 PC), E(2 PC) and F(7 PC).
@SQLBI
@SQLBI Жыл бұрын
You can find several examples here: www.daxpatterns.com/parent-child-hierarchies/ The real issue for BOM is that you don't have a real good native solution for the multi-level organization - a pre-processing that allocates B native components into A components is required. It's possible, but relatively complex and not really managed by DAX because there is no recursion available in this language.
@kunwang2279
@kunwang2279 Жыл бұрын
@@SQLBI Thanks for your clarification. Then the best way is still to use SQL common table expression to do recursive join to extend the BOM. hope one day DAX could handle Recursion.
@KenLoewen
@KenLoewen Жыл бұрын
In your video, you're displaying the problem I'm trying to solve - when I see the children indented below the parent, I have a blank label for the data applying to the parent. How do I get the parent label to populate in the child level when the parent has data?
@NikitaKobtsov
@NikitaKobtsov Жыл бұрын
Hi Alberto, Is it possible to show always child value ? What I mean is that if we add in your file slicer with hierarchy (Dim[Lev1],Dim[Lev2],Dim[Lev3]) and than select "F" from Dim[Lev3], we will see "No Agg" at all level - 25, but the desire result would be A - 110, B - 40, F - 25
@tianhsiunghoon6153
@tianhsiunghoon6153 4 ай бұрын
Thanks. The solution is great for for the data i'm working with. I am using a Hierarchy Filter (with RLS) to control the PBI matrix visual. Can I only display the current and child nodes in the matrix visual such that values across all levels are consistent? Thanks! Base Matrix Root | 90 A | 100 A.1 | 30 A.2 | 10 B | 70 B.1 | 30 B.1.2 | 12 Select B.1 on Hierachy Required: B.1 | 30 B.1.2 | 12 Current result: Root | 30 B | 30 B.1 | 30 B.1.2 | 12
@rogeriopsvalle
@rogeriopsvalle Жыл бұрын
Hi Alberto, Good evening. A co-worker left the company and now I need to edit an APP that he is the owner of. I have to revise a few measures but I am not able to edit them. Options to download, etc are greyed out. Is there any solution to this case? Is there any application that I can use ? Thanks
@nathanielmoss7470
@nathanielmoss7470 6 ай бұрын
Perfect solution for my needs!! Thabk you!!!
@rokiczaaa
@rokiczaaa Жыл бұрын
Today I tried to do something similar to this but I had no idea. I wanted to show only parent value and hide child level. I think it will be a modification of this case. Thanks :)
@neelshah8247
@neelshah8247 2 ай бұрын
Currently facing a challenge which has ragged hierarchies. I have 5 levels of hierarchy in my data i.e. five different columns called L0, L1, L2, L3 and accounts. A single pair of L0, L1, L2 and L3 can have multiple accounts. I want to create a matrix visual in Power BI that shows this hierarchy in the rows of matrix i.e., L0, L1, L2, L3 and accounts. The challenge that I'm facing is that the hierarchy is ragged. For example: the first row contains blanks in L2 and L3 but there are accounts associated with L1, in that case my hierarchy should be L0, L1 and accounts. In second row L3 is blank but L2 has accounts associated with it, in this case the hierarchy will be L0,L1,L2 and accounts. In short, I want to remove the blanks in between the hierarchy. How can I achieve this in Power BI (matrix visual)?
@abhishekparihar1
@abhishekparihar1 8 ай бұрын
Hey great explanation , Q - what if we have one more level of Parent child relationship, eg Super parent- Parent- Child
@GauravKapoor7788
@GauravKapoor7788 10 ай бұрын
What if 1 employees report to 2 manager?
@SQLBI
@SQLBI 10 ай бұрын
It is a graph, you should duplicate the node but then you no longer have a 1-to-many relationship.
@Bharath_PBI
@Bharath_PBI Жыл бұрын
Thank you 👍
@SandipanSarkar-c8v
@SandipanSarkar-c8v 5 ай бұрын
Finished watching
Row Context in DAX
20:42
SQLBI
Рет қаралды 104 М.
Using ALLEXCEPT vs ALL VALUES
13:35
SQLBI
Рет қаралды 57 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Obsidian 1.8 IS HERE With Awesome Updates!
8:57
LeanProductivity - Sascha D. Kasper
Рет қаралды 3,5 М.
Use CONCATENATEX to Create Smart Visuals in Power BI
20:02
Default your Date Time Slicer Selection to a Current Period in Power BI!
10:30
Differences between GROUPBY and SUMMARIZE
28:30
SQLBI
Рет қаралды 41 М.
DAX Fridays! #91: Sum child values into the parent
6:36
Curbal
Рет қаралды 10 М.
Mastering Power BI PARENT CHILD Hierarchy!!!
45:53
Power BI Bro
Рет қаралды 11 М.
Power BI & DAX: How to Flatten a Parent Child Hierarchy
28:10
KnowledgeBank by obviEnce
Рет қаралды 35 М.