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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
@amitchandak , @v-luwang-msft
Hi guys,
I am new to powerbi and need some help writing DAX.
I need to add a calculated column with total inactive employee on that date where result would exclude active employe on that date (count of active employee (i.e 844) minus distinct count of employee ID from annual leave table)
The list is given in Annual leave table. and Total Active employee is in Driver's detail table. Could
you please help with this.
Thanks.
Hi @Anonymous
You can refer to the blog below to learn how to provide sampe in this case . And then upload your sample .
Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@amitchandak Hi amit ! How can I share the sample data file (.pbix), there isnt any attachment option.
@Anonymous ,
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
for measure we do it like
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
11 | |
10 | |
9 | |
8 |