Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Experts,
I am trying to calculate the Daily Sales Target.
Logic for Daily Sales Target Calculation:
(50,000 / number of workdays) + 20%
Details:
I have attached my PBIX file for reference.
DailySalesTarget.pbix
Any guidance on how to ensure the Daily Sales Target measure is not affected by the day filter would be greatly appreciated.
Thank you for your help!
Solved! Go to Solution.
I think the solution of workday was provided by another super user. You have some discustion on another thread. I haven't had a chance to go through.
Here is a workaround that we do not need to touch the DAX part.
turn off the interaction between day filter and daily sales target card.
Proud to be a Super User!
@ryan_mayu ,
The output of "Daily Sales Target" is correct, if YEAR and MONTH Filter are selected.
However, If DAY filter selected along with YEAR and MONTH filter. The output "Daily Sales Target" is showing incorrect result. This is due to "Workday" measure filter is affected by Day Filter.
My requirement is to workday measure should not be affected by Day Filter.
I think the solution of workday was provided by another super user. You have some discustion on another thread. I haven't had a chance to go through.
Here is a workaround that we do not need to touch the DAX part.
turn off the interaction between day filter and daily sales target card.
Proud to be a Super User!
the output looks correct. 50000/20*1.2
What's the expected output that you want?
Proud to be a Super User!
got a feeling that the problem is with the 50,000, is that a monthly target? my interpretation of your problem is that this total target is not changing, but the number of workday changed, so your daily target is also affected.
I've split the measures into 3 tables in your file using different period in the table to illustrate the problem. Hope this at least partially answered your question.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
96 | |
69 | |
45 | |
40 | |
30 |
User | Count |
---|---|
155 | |
96 | |
60 | |
42 | |
41 |