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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ankurbajaj07
Helper I
Helper I

Diving two measure with different date column giving wrong output

I am stuck in a problem. I receive two excel files from my HR every month end. One is monthly (for that month) Sepration list  & second is cumulative Employee Roster.

 

I need a report table with side by side data clumn of 3 months.

 

Table is dvision of two measures.

Measure 1: count of rows in Excel table "Seperation list" where seperation is due to "RESIGNED" taking from column "SEPERATION DESCRIPTION". Table has a date column (created in query)referring to the date (month end) when the file was received from HR.

 

Mesure 2: count of rows in Excel Table "Employee Roster" where employee type is REGULAR employee. Table has a date column (created in query)referring to the date (month end) when the file was received from HR.

 

Output required is : Measure 1 / Measure 2 which is Attririon rate

 

My problem is both measure 1 & 2 refer different date column in different excel table. So visual table created based on division of two measures does not work properly, as if I drop date column from Seperation list, measure 1 works properly but measure 2 behave irratically giving wrong diviosn result. Similar is the case if i drop date column of Employee roster for visual table, measure 1 behaves incorrectly and output result is not correct.

 

PLease help.

 

2 ACCEPTED SOLUTIONS
krishb1414
Helper III
Helper III

Hi @ankurbajaj07  create one dimension date table with date columns from both the sheets and create relationship and use date column from date dimension in the 2 measures. 

for combine both date columns use UNION.

 

Thanks

View solution in original post

Hi,

Thanks for the rprly. Can you elaborate on create data table . Are you suggesting to do with power query ? Actually can u guide me , I am pretty new to power bi. 

View solution in original post

4 REPLIES 4
krishb1414
Helper III
Helper III

Hi @ankurbajaj07  create one dimension date table with date columns from both the sheets and create relationship and use date column from date dimension in the 2 measures. 

for combine both date columns use UNION.

 

Thanks

Hi,

Thanks for the rprly. Can you elaborate on create data table . Are you suggesting to do with power query ? Actually can u guide me , I am pretty new to power bi. 

Hi, Thanks. I figured out the steps. thanks that worked.

 

 

That's great, You can ask me if anything required.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors