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.
Hi All,
I am trying to create a calendar visual that shows the total number of employees on site on any given day.
Dataset 1 - All employees who should be available on any given day.
Employee Name | Trade |
Jone Jones | Scaffolder |
Andy Blue | Fitter |
Dataset 2 - Sickness
Employee Name | Start Date | End Date |
Jone Jones | 01/01/2021 | 10/01/2021 |
Andy Blue | 01/05/2021 | 10/05/2021 |
Dataset 3 - Holiday
Employee Name | Start Date | End Date |
Jone Jones | 11/01/2021 | 12/01/2021 |
Andy Blue | 11/05/2021 | 12/05/2021 |
The logic behind this visual will consist of the following
For example, the calendar visual for January 2021 will show that Andy Blue is available every day but Jone Jones is not available between dates. 01/01/2021 - 12/01/2021
Any ideas on how this can be achieved?7
Many thanks,
Solved! Go to Solution.
Hi @Serdet ,
Here are the steps you can follow:
1. Create calculated column.
Column =
IF(TODAY()>=[Start Date]&&TODAY()<=[End Date],1,0)
2. Create measure.
vailable =
var _noavailable=SUM(Merge[Column])
return
COUNT(Dataset1[Employee Name])-_noavailable
3. Use the card chart to place the measure in
4. Result:
Today is 2021.9.16. According to the conditions, neither of them is in working hours, so no one today
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hello,
We offer building custom visuals or enhancing existing visuals. Based on your asks and attached mock-up we will be able to build a custom visual for your needs.
If you have an urgent need for a custom feature or visual, please contact sales@MAQSoftware.com
Hi @Serdet ,
Here are the steps you can follow:
1. Create calculated column.
Column =
IF(TODAY()>=[Start Date]&&TODAY()<=[End Date],1,0)
2. Create measure.
vailable =
var _noavailable=SUM(Merge[Column])
return
COUNT(Dataset1[Employee Name])-_noavailable
3. Use the card chart to place the measure in
4. Result:
Today is 2021.9.16. According to the conditions, neither of them is in working hours, so no one today
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Serdet ,
You can find Calendar by MAQ Software in Get more visual.
Here are the steps you can follow:
1. Create calculated table
Merge = UNION('Dataset 2 - Sickness','Dataset 3 - Holiday')
2. Open Calendar by MAQ Software. Visual object, and place the columns of the Merge table below.
3. Result:
When Employee is available on a certain day, the color is not displayed. When Employee is not available on a certain day, it is displayed in the specified color.
This is the relevant information of Calendar by MAQ Software:
https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104381844
https://www.c-sharpcorner.com/article/create-event-calendar-in-power-bi/
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi,
This is great. Is it possible to lay the visual out as follows?
Each day tell me the total amount of employees available (count of dataset 1 - employees with sickness and holiday days)
Many thanks,
E
what were you expecting to see? there are plenty of calendar type custom visualisations https://appsource.microsoft.com/en-us/marketplace/apps?product=power-bi-visuals&search=calendar&page...
which may or may not work for you. It just depends on what your expectation is. You need to give a clearer idea of what how you are wanting to display this information.
Proud to be a Super User!
Hi,
Thanks for your response. I have tried numerous of these calendar visuals but couldn't achieve the desired look.
Please find an example report visual attached.
Hope this helps.https://www.dropbox.com/scl/fi/xh5axxgbpy65rlnfr3x3c/Labour-Availability-Example.docx?dl=0&rlkey=n9e...
unfortunately if you can't find the correct visual in the custom options then it doesn't exist. You either need to develop your own visual which for most people isn't really realistic or think about adjusting your requirements in how you demonstrate this. There is however this which is charticulator which might be of use to you, i haven't used it but it looks like it might have potential.
https://www.burningsuit.co.uk/blog/2021/06/charticulator-in-power-bi-1/
https://www.youtube.com/watch?v=ORKTLUAFXnI
Proud to be a Super User!
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 |
---|---|
99 | |
97 | |
85 | |
70 | |
67 |
User | Count |
---|---|
116 | |
109 | |
94 | |
79 | |
72 |