Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I am creating a dashboard to monitoring all actitives that the team worked. I have a share point list that contain date and activity will performed during the year.
So I need create a percentage indicator visual to show the total activities was done during a day. For example, today is 03/24/23 and I have 10 activities planned to perform however I only finished 5 activities therefore I conclused 50% of my planned activities.
How can I count the number of activities I need perform per day ? After count it I imagine that is possible create a percentage indicator.
Solved! Go to Solution.
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.
Hello @v-tangjie-msft ,
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 %
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |