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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Getting Datasets to Match

 

So I have a table that is showing our trailing 12 month retention which is made up of these pieces and looks like this:

1.PNG

1.PNG

1.PNG

1.PNG

1.PNG

I then attemp to break this down further by employee size per company. I'll just show one size group here since all the others are set up identical. Here is also the raw data I am basing this off of:
1.PNG

Attempted to created a measure that would count the number of employees per company:
1.PNG

Then the retention based upon employee size:
1.PNG

1.PNG

1.PNG

1.PNG

1.PNG

 

So as you can see, my pink graph above has spikes at 1/31 of each year. This is the date where we drop most termed clients so thats why it spikes. I was expecting when calculating the same but taking employee size into consideration instead of just start and end dates, that each group on this graph would spike too, but it is only spiking on 1/31/2017. I feel it has to do with my 'Employee Count' measure I created to count the number of employees per company. After doing some digging around, I discovered the starting period number is what is throwing everything off, but I'm not sure why. For reference to the below screenshot, 'Cservice' is referencing the pink graph, 'Employees' is the yellow graph which are my datasets. Far right is the difference in calculations for each column between the datasets (they ideally are supposed to match or be pretty close):

1.PNG I'm not sure why the 2017 numbers are pretty identical which is what I expect, but the other numbers are miscalculating. Is there a better way to achieve what I'm trying to do? Or what formulas need changing to set this up better? Thanks!

 

2 REPLIES 2
v-yuezhe-msft
Employee
Employee

@Anonymous,

Would you please share the complete data of your table for us to  test? You can share the data via Private Message.


Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-yuezhe-msft I sent you a private message in regards to this question.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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