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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply

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,

AshishCapture_test.JPGCapture_3.JPG

1 REPLY 1
Fowmy
Super User
Super User

@Ashish_kumar12 

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

Specify the start and end date.


Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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