Forum Discussion
Percentual Indicator
- Anonymous3 years ago
Hi Viniciussouza ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create three measures.
total activity = COUNTROWS(FILTER(ALL('Table'),'Table'[date]=MAX('Table'[date])))finished = CALCULATE(COUNTA('Table'[finished activity]),'Table'[finished activity]<>BLANK() && 'Table'[date]=MAX('Table'[date]))percentage = DIVIDE('Table'[finished],'Table'[total activity],0)(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Viniciussouza ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create three measures.
total activity = COUNTROWS(FILTER(ALL('Table'),'Table'[date]=MAX('Table'[date])))finished = CALCULATE(COUNTA('Table'[finished activity]),'Table'[finished activity]<>BLANK() && 'Table'[date]=MAX('Table'[date]))percentage = DIVIDE('Table'[finished],'Table'[total activity],0)
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Viniciussouza3 years agoFrequent Visitor
Hello Anonymous ,
Thanks for your reply. I tried to apply it in my dashboard although it'snt work well. I don´t know how add my .pbix here so I am sharing the print screen.
Fifth column is activity date started
Sixth column is activity date planed
Seventh column is activity date finished
So if the start date and finish date <= plan date the result was 1, whether start date and/or finish date > plan date result was 0.
In this case the percentual total was 37,5 %