Forum Discussion

Ashish_kumar12's avatar
5 years ago

Errror while creating Realtionship between tables

Hi There,

 

Hope you are doing well,

 

I have an excel file in which there are 3 tabs available for (Gross, Turnover,Net) in which they have respective values (Attached in Pic 1)

I need to calculate total turnover , net profit , gross of each object(which are column values in each table ) for that i have created a dates table using measure: 

Date=CalenderAuto() and respectively i have exported year,month , day and quarter column from the same .
When i tried to make relationship between my Fac tables(Gross,Turnover,Net), its giving me an error (pic 2).

Can someone please help me to create some dax for my calculation and how to fix this cardianality issues?

 

Thanks and Regards,

Ashish

1 Reply

  • Ashish_kumar12 

    Instead of CALENDARAUTO() use CALENDAR( "01/01/2020" ,  "01/01/2021" )

    Specify the start and end date.