Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Richard_Halsall
Helper IV
Helper IV

Count Record Measure on Dimension Table for Matrix Visual

Hi 

Struggling to resolve this requirement

 

My Data model is as shown

 

Richard_Halsall_0-1740062717237.png

 

I have a Date Slicer (from Dates) & Project Name Slicer (from DimProject)

 

In the matrix visual I have the Date and I am attempting to write a measure that counts the number of records in the DimJobTasks table when a specific Project Name is selected in the slicer but this table only has a relationship with the FactTimesheet table and I am struggling

 

Any help or advice would be much appreciated

 

Thanks

1 REPLY 1
audreygerred
Super User
Super User

Hi! Do tasks belong to Projects? If so, assuming the task list has the Project ID, you could create a snowflake schema - join Project to Task and Task to fact. Then, Project will filter Tasks and Tasks will filter Fact.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.