Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Good evening,
I have excel "Index-Match" formulas which referes (for the result column) its own column, like given in the picture below:
I want to implement this approach in Power Bi calculated column to, but it does not work - I can not refer to the same column where I want to write a mesure..
Simply to say - There is no reference at all for any formula to the same calculating column..
Please help. In excel it's very easy.. but here I've got a "ubreakable wall" 😞
Hi @George1973
To be honest, I'm trying to guess your expected result. Please try
Tree Leveles New =
IF (
ISBLANK ( 'Tree of Products'[tree levels] ),
VAR CurrentParent = 'Tree of Products'[PARENT]
RETURN
MAXX (
FILTER ( 'Tree of Products', 'Tree of Products'[PARENT] = CurrentParent + 1 ),
'Tree of Products'[product_code]
),
'Tree of Products'[tree levels]
)
Hi @tamerj1
I've tried. Did not work.
Unfortunately I can not attached excel sample spreadsheet for better underttandung the outcome.
Hi Again @tamerj1
I will try to show you the outcomes in steps through screenshots:
Step 1: Defining the first product group level:
Step 2: Define the second group level
When the Prod_code is now in parent:
Step 3: Define the 3rd level, now the prod_code 022 is in parent:
End so on 🙂
Hi @George1973
Sorry for the late reply. You can upload the excel to WeTransfer or DropBox and share the link here. I have a feeling that this is one of the recursive calculations that can be solved by dax.
Hi @tamerj1 ,
I'm happy to have you follow up - Beleive me, it is very urgent issue for me and I would be more than gratefull for finding solution for it.
Here is the drop-box link of the excel data:
https://www.dropbox.com/s/yki0kr6peghfo7d/product_tree.xlsx?dl=0
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |