Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
@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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
8 | |
8 | |
8 | |
6 |
User | Count |
---|---|
14 | |
12 | |
11 | |
10 | |
8 |