Forum Discussion
Single column formula for 2 options Complete and pending
- 2 years ago
Imran_1112 ,
I believe the below measure logic will work for you and it's a dynamic logic 🙂Measure Logic = VAR __AllCount = CALCULATE ( COUNT ( Data[RFS] ), REMOVEFILTERS ( Data[RFS] ) ) VAR __Count = COUNT ( Data[RFS] ) RETURN DIVIDE ( __Count, __AllCount )If I resolve your issue please accept it as solution.
Thanks
Dear Xianda Tang,
Thanks for your reply, Its working well but i need to update total count every time when there is new site added. In your formula /18 has to be change every time when i upload new row or the row count increase.
Is there any way where it counts automatically the total rows (in this case 18) instead of putting manual.
Thanks again
COUNT('Table'[RFS])/18
Imran_1112 ,
I believe the below measure logic will work for you and it's a dynamic logic 🙂
Measure Logic =
VAR __AllCount =
CALCULATE ( COUNT ( Data[RFS] ), REMOVEFILTERS ( Data[RFS] ) )
VAR __Count =
COUNT ( Data[RFS] )
RETURN
DIVIDE ( __Count, __AllCount )
If I resolve your issue please accept it as solution.
Thanks
- Imran_11122 years agoNew Member
Thank you very much, it worked what i was looking for. You are amazing man.
Thanks for every 1 who tried to support me.