Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi, i am trying to create a measure to pupulate a teable but am struggling.
I have a quite comlicated datase, but have shown a simplified version below.
Projects Table
This contains a list of projects and programmes. each project and programme is assigned to a programme.
Change and Benefits Registers
These are sharepoint lists that users can capture records against projects or programmes. They are joined to the projects table by the Project ID.
Output needed
I am trying to create a 'programme report'. There will be a slicer where the user selects 'Programme' from the unique values in the 'Projects[Programme].
I want to create a table that shows the
- count of changes
- count of changes open
- count of benefits
- count of benefits open
Any suggestions?
PS, summary of the schema below
Hi @Anonymous
You can create measures like below. Download the PBIX file for details.
Benefits = COUNT('Benefits Register'[Project ID])
Benefits Active = COUNTX(FILTER('Benefits Register','Benefits Register'[Benefit Status]="Active"),'Benefits Register'[Project ID])
Changes = COUNT('Change'[Project ID])
Changes Active = COUNTX(FILTER('Change','Change'[Change Status]="Active"),'Change'[Project ID])
Kindly let me know if this helps.
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
@Anonymous
Any chance you can share the actual sample data, as opposed to an image?
Proud to be a Super User!
Paul on Linkedin.
Hi Paul, unoftunately i cant as it Microsoft Project Online data that we access through an api and also includes a lot of sensitive information, hence my representation in excel.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 46 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 68 | |
| 31 | |
| 27 | |
| 24 |