The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |