Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a date table which formulates all the dates for given field.
Now i have a field which says- task end date through which i calculate last week tasks- for some reason total tasks are coming exact but not exact when go for individual category.
In power BI its coming as :
The last week tasks are counted using :
I am not sure why this is happening, i am not able to debug. Any help would be appreciated.
Many thanks!
@Dwivedi15 In response to your private message. One thing I noticed immediately is that in your Date table, you only have 6 dates for last week (7/2/2023). Looks like you are missing Saturday the 8th. Perhaps this is causing some of your problem?
Hi greg,
PBIX- https://drive.google.com/file/d/1faZg-lGf7mCdmayB3VfHwrg9-VeW1_Rn/view?usp=sharing
Excel for just last week: https://docs.google.com/spreadsheets/d/1E3NAOYTqcfqmQSDpNEYI-ykK3U8AsS0v/edit?usp=sharing&ouid=10989...
If you see here indiviual count of tasks are not coming correct but overall is coming right. Also total aborts works just fine.
REally cant understand why !!!?
Your MaxWeekNumber calculation needs to be corrected to calculate the proper max week of the prior year ( for current week =1 )
Can you please elaborate? i did not get you!
Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.
how can i share my PBIX and Excel file ?
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Hi,
PBIX- https://drive.google.com/file/d/1faZg-lGf7mCdmayB3VfHwrg9-VeW1_Rn/view?usp=sharing
Excel for just last week: https://docs.google.com/spreadsheets/d/1E3NAOYTqcfqmQSDpNEYI-ykK3U8AsS0v/edit?usp=sharing&ouid=10989...
If you see here indiviual count of tasks are not coming correct but overall is coming right. Also total aborts works just fine.
REally cant understand why !!!?
Excel file for all data from 2021 Jan: https://docs.google.com/spreadsheets/d/160A5HKN1xuI-3UgQgFK0npHJuwRFX_qc/edit?usp=sharing&ouid=10989...
Excel file for just last week:
https://drive.google.com/file/d/1xN6-74xf1tayMtgb9jJeS5zZ_B1byPAD/view?usp=sharing
PBIX file :
https://drive.google.com/file/d/1xN6-74xf1tayMtgb9jJeS5zZ_B1byPAD/view?usp=sharing
If you see, here last week count is not coming correct for individual 'Management Area' for both count of tasks and Aborts.
Kindly help me figure this out.
Many Thanks in advance!!
Hi , This week rank is not working out for me, now even the overall number is not coming correct!
Have these new columns in Date Table, Week Rank is Important in Date/Week Table
Week Rank = RANKX('Date','Date'[Week Start date],,ASC,Dense)
OR
Week Rank = RANKX('Date','Date'[Year Week],,ASC,Dense) //YYYYWW format
These measures can help
This Week = CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])))
Last Week = CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])-1))
Power BI — Week on Week and WTD
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-La...
https://www.youtube.com/watch?v=pnAesWxYgJ8
Time Intelligence, Part of learn Power BI https://youtu.be/cN8AO3_vmlY?t=27510
Hi This does not work for me, as now even the total number of rows arent coming out correct!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.