The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi there,
I struggle hard to get this hierarchy flat.
Each AR Elements belows to the latest PA above. I need the Disp1 of the according PA element at each child AR element.
Thanks a lot
hony
Solved! Go to Solution.
Hi, @hony
Try to create a custom column:
if [DE]="PA" then [#"NR-DISP1"] else null)
Then, to Use the fill down feature in power query
Result:
Please refer to the attachment below for details
Is this the result you want? Hope this is useful to you
Please feel free to let me know If you have further questions
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @hony
Try to create a custom column:
if [DE]="PA" then [#"NR-DISP1"] else null)
Then, to Use the fill down feature in power query
Result:
Please refer to the attachment below for details
Is this the result you want? Hope this is useful to you
Please feel free to let me know If you have further questions
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hi there,
thanks for that fast answer - you got any idea how to do it in power query? I need the column there to move on. 😕
BEST
@hony , Create a new column like
new column =
var _id = if([DE] ="AR", maxx(filter(Table, [Index] < earlier([index]) && [DE] ="PA"),[index]), [index])
return
maxx(filter(Table, [Index] =_id && [DE] ="PA"),[NR-DISP1])
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
80 | |
75 | |
52 | |
50 |
User | Count |
---|---|
133 | |
124 | |
78 | |
64 | |
61 |