Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
@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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |