Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Dear community
I tried to search in the forum but didn't find anything helping
Here is my problem
I have a table which gives, per Id (which is a project Id) who are the persons involved in it.
For instance, in below table, there are 2 persons per Id, except for the last one. There are 2 engineers.
I would like a measure that give the total number of persons per Id in order to have something like
But when I filter on a specific Id Ingeneer, it need to keep the same value
In this example, IdEngineer number 3310 in involved in only one project. But there are 3 persons in total on the same project
I need it as a measure because this value will be used for other calculations.
I hope I am clear enough
Thanks in advance
Solved! Go to Solution.
Try
Num people =
CALCULATE ( COUNTROWS ( 'Table' ), REMOVEFILTERS ( 'Table'[Engineer ID] ) )
That simple?
Seems working
Thanks
Try
Num people =
CALCULATE ( COUNTROWS ( 'Table' ), REMOVEFILTERS ( 'Table'[Engineer ID] ) )