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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.