Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello Team,
I hope everyone is doing well!
I am facing an issue in my report.
I am expecting the output as below:
Employee Name: Nellaiappan Gomathinayagam
Week: 4–10 → 2 Days, and 11–17 → 3 Days (Month: Aug 2025)
But currently, I am getting the output incorrectly:
Under week 4–10 → only 1 day is showing
Week 11–17 is missing completely
I have used the calculation shown below.
Could you please assist me in resolving this issue?
Date Table calculation:
Report output:
Relation ship in Model:
Hi @kolli002,
without usable data, I can only suggest to use a simpler code
Days Present per Week =
DISTINCTCOUNT ( Attendance[Date] )
Does that work?
If not,
can you please share the pbix via some cloud service? Or in alternative can you please include, in a usable format, not an image, a small set of rows for each of the tables involved in your request and show the data model in a picture, so that we can import the tables in Power BI and reproduce the data model. The subset of rows you provide, even is just a subset of the original tables, must cover your issue or question completely. Do not include sensitive information and do not include anything that is unrelated to the issue or question. Please show the expected outcome based on the sample data you provided and make sure, in case you show a Power BI visual, to clarify the columns used in the grouping sections of the visual.
Need help uploading data? click here
Want faster answers? click here
User | Count |
---|---|
14 | |
9 | |
8 | |
7 | |
5 |
User | Count |
---|---|
24 | |
16 | |
15 | |
10 | |
7 |