March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have 3 tables, each one is a parent of other.
Initiative-->Epic -->Feature
All these tables have a column named "Status".
The column "status" has 2 values "Done" or "Inprogress"
I need a card which shows the completion status in % of a epic.
For example, a epic has 4 features, out of these, 2's status is "Done" and remaining 2's status is "Inprogress".
So, in card it should show as 50% of a selected epic
Kindly help me here,
Thanks in advance
Solved! Go to Solution.
Hi @Anonymous ,
Sorry, still not very clear. Could you go into more detail and provide some simple sample data and the corresponding expected results? Thank you.
Which state do you want to calculate the percentage?
percentage = var _totalgroupbyepic=COUNTROWS(FILTER(ALLSELECTED('Table'),[epic]=MAX('Table'[epic])))
var _count=COUNTROWS(FILTER(ALLSELECTED('Table'),[status]="Done"&&[epic]=MAX('Table'[epic])))
return DIVIDE(_count,_totalgroupbyepic)
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Sorry, still not very clear. Could you go into more detail and provide some simple sample data and the corresponding expected results? Thank you.
Which state do you want to calculate the percentage?
percentage = var _totalgroupbyepic=COUNTROWS(FILTER(ALLSELECTED('Table'),[epic]=MAX('Table'[epic])))
var _count=COUNTROWS(FILTER(ALLSELECTED('Table'),[status]="Done"&&[epic]=MAX('Table'[epic])))
return DIVIDE(_count,_totalgroupbyepic)
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
109 | |
73 | |
54 | |
52 | |
44 |
User | Count |
---|---|
157 | |
113 | |
63 | |
60 | |
50 |