March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
How would I create a measure to show how many projects (as a percentage) have been completed within that latest calendar month?
Solved! Go to Solution.
Hi @Alta88 ,
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:
Create a measure
Percentage =
VAR _coutRows = COUNT('Table'[Project ID])
VAR _rows =
CALCULATE(
COUNT('Table'[Project ID]),
FILTER(
'Table',
'Table'[Status] = "Completed" && 'Table'[Comopleted Date] >= DATE(YEAR(TODAY()),MONTH(TODAY()),1) && 'Table'[Comopleted Date] <= EOMONTH(TODAY(),0)
)
)
RETURN
_rows/_coutRows
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Cool! Looks like it worked! Thanks for your help!
Yes, here's the data again:
Thanks for the data showing completed projects. That info wasn't in the first image you shared.
Just FYI, it's always good practice to provide data for us to help you, not images. We have to enter all that data into PBI before we can start on a solution. You'll get a better response from people if you provide data as a file or at least a table in the forum.
You also haven't given an example of the desired result. You say you want 'a measure to show how many projects (as a percentage) have been completed within that latest calendar month' :
Regards
Phil
Proud to be a Super User!
Hi @Alta88
In your data there isn't anywhere that says when a project is completed. Need this to do any kind of calculations.
Regards
Phil
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
85 | |
69 | |
54 | |
45 |
User | Count |
---|---|
204 | |
106 | |
98 | |
65 | |
54 |