The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello Guru's,
I have a table below -
I am planning to write DAX code for a CALCULATED Column which should give the following output mentioned in the table below.
Can you please help me to write the DAX code for calculated column Revised_WBS = ?
Solved! Go to Solution.
Revised_WBS =
var v=Table[WBS]
var i=Table[Index]
var c=COUNTROWS(FILTER(Table,Table[Index]<i && Table[WBS]=v))
return v & REPT("0",c)
Revised_WBS =
var v=Table[WBS]
var i=Table[Index]
var c=COUNTROWS(FILTER(Table,Table[Index]<i && Table[WBS]=v))
return v & REPT("0",c)
Many thanks.....
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
9 | |
5 |