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!View all the Fabric Data Days sessions on demand. View schedule
I am trying to insert a text value into the text box and it is not picking up the measure when it contains filtering within the calculation.
This measure is recognized/picked up and generates the correct value.
Hello @Rocky13 ,
In order to do the headcount calculation using Power BI, you need the following two tables in your data model.
- Employee table
- Calender table
The Employee table contains as a minimum 3 pieces of information below, but if you want to add a geographycal analysis, you can add that information such as USA, Canada etc in the employee table, too.
Then you will have these two tables as "disconnected tables" in your data model and write a dax formula like below, in order to identify flexibly who are the employees still employed at any particular point in time.
After getting the flexible and versatile headcount measure working which respects time dimension, you can write a ConcatentateX measure to prepare the variance analysis commentary as you required. There's an article on how to prepare headcount analysis using Power BI in the link below:
https://p3adaptive.com/finding-the-magic-part-2-on-the-way-to-data-happiness/
Good luck!
Hi. My measure is fine and working when used in other visuals or cards. But its not accepting it in the text value. We build our time intelligence using the variables so none of our tables are connected to the date table. I have the concatenate set up as such:
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!