Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Mardo
Frequent Visitor

Please Help me with my Dashboard!

 

 

3 REPLIES 3
Chas2002
Helper III
Helper III

Hi Mardo,

 

Can you share your table with some dummy data? 

 

Normally, for reports similar to this I use a flag column in my database, but you may be better off with a flag and date column. 

 

For example:  Flag = 0 (default) means no change in employment, Flag = 1 means employee left company, Flag = 2 means employee joined company.  Then the date is would show the date the flag occured.  Something similar may work for you.

 

Chas

Hello Chas,

 

I have created two different tables from the main CUBE. The first table contains 1544 rows and shows the employee in 2017. The second table has 1804 rows that shows the number of employees in 2018. (The number of employees is increasing!).

 

Now, my question is: HOW to determine the number of employees who left OR joined the company??? We have Employee-ID as a key in both tables. Please anyone could help?

 

Thanks in advance,

Regards,

Mardo

HI @Mardo,

 

BTW, it will be help if you share some sample data/pbix file and expected result to help clarify your scenario.

 

In my opinion, I think you can try to union these table and create new tables to store expand details date from merged table.

Then you can direct use calendar table to link detail date to create visualizations.

Convert date ranges into list of dates?

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors