Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi
I am trying to produce a graph that shows the amount of projects opened and closed per month.
My dataset consists of two tables: Project Definition and a Calendar table.
The Project Definition table contains "date created" "status last changed date" and "status" . Project Definition and Calendar are joined on "date created".
I am using the "status last changed date" as the closed date if the status = closed
I have two measures counting closed and open projects, but the numbers don't add up on the graph.
I suspect it is due to the nature of the relationship between the project and calendar table.
Any help is appreciated
Thanks in advance
Hi SDigital,
What's the table structure and relationship between your tables currently? Could you share the dax formula you are using?
Regards,
Jimmy Tao
Hi Jimmy
I have a one to many relationship between Calendar/Date and Project Definition/Created Date
I also have another inactive relationship between Calendar/Date and Project Definiton/Status last changed date
The measures i am using to count the opened and closed projects are:
Projects Opened = COUNTROWS('Project Definition')
Closed Projects = CALCULATE(COUNTROWS('Project Definition'),('Project Definition'[Status] = "ZCLS"),USERELATIONSHIP('Project Definition'[Status last changed date],'Calendar'[Date]))
Thanks
User | Count |
---|---|
90 | |
84 | |
65 | |
62 | |
58 |
User | Count |
---|---|
148 | |
112 | |
95 | |
81 | |
71 |