Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I am having a table with 2 columns like below.
- Status: To measure the progress of the event
- Status change date: The latest status change date
Question - I would like to create a "Measure" to count the # of status change on weekly basis (Week start = Sunday).
For instance, In the week between 12th-18th May, the count should show with 5.
How to do that? Thanks a lot.
Status | Status Change Date |
In Progress | Wednesday, 1 May 2024 |
In Progress | Monday, 13 May 2024 |
In Progress | Tuesday, 14 May 2024 |
Done | Thursday, 1 February 2024 |
Done | Friday, 1 March 2024 |
Done | Wednesday, 15 May 2024 |
Hold | Wednesday, 15 May 2024 |
Open | Wednesday, 15 May 2024 |
Open | Thursday, 1 February 2024 |
Week start = Sunday or Monday
Please make a choice.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to 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.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Thanks for your comment. I am new to the forum, sorry.
modified the content already.
Thank you for the sample data. It is not sorted by date so there is ambiguity.
For example the number of changes in that last week is 3, not 5.
Please sort your data in order of occurrence of the changes or status updates.
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
11 | |
9 | |
6 |