Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be 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

Reply
Drcpaaaa
Regular Visitor

Target per shift

Hello guys 

i have a model to calculate incentive for sales based on target prr shift 

so i have tables for fingerprint attendance and daily target per store and sales for emp and store 

 

what i need to do is create a measure to distribute store daily target between employees according to predefined shifts 

For example i have store 

one emp come at 10 am to 5pm , the second one at 12 pm to 8 pm , the third one at 2 pm to 10 pm 

and the first shif in store begins at 10 am till 2 pm 

The second shift begins at 2 pm till 10 pm 

 

so for the first emp he will get 100% of store target till 12 pm then 50% till 2 pm then 33% till 5 pm and so on 

 

so any help 

thanks 

2 REPLIES 2
AnkitKukreja
Super User
Super User

Hi @Drcpaaaa 

 

Can you share the sample data and the expected solution so I can have a look at it?

 

Book Time with me.

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
https://topmate.io/ankit_kukreja

hello AnkitKukreja,

thank you very much for your reply 

i have attached pic from my model the first one is daily target per store and second one is from attendence system 

what i need ( hoping ) to attach daily target for useris 15218 if he shows fingerprint and please note that type 1 for entry and 2 for exit as follows : 

* store morning shift start from 9 am to 3 pm and eveimng shift starts from 3 pm to 11 pm

* anyone came in the moring shift will be attached to morning shift ( if two will distributed equally ) 

 

thanks 

 

target.jpgfingerprint.jpg

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.