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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Paulyeo11
Impactful Individual
Impactful Individual

I have need to link 2 table date field stuck at relationship

Hi All

Hope some one can advise 

 

Paulyeo11_0-1602209006769.png

After click 2 drop down box  , still cannot press ok :-

Paulyeo11_1-1602209124555.png

 

 

1 ACCEPTED SOLUTION

Hi,

Download the PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

12 REPLIES 12
amitchandak
Super User
Super User

@Paulyeo11 , As per the message you already have a relation between these two columns . First, delete the existing one. If you want to create again.

Hi Amit

Kindly help me take a look of my PBI file :-

https://www.dropbox.com/s/mflp2df9id8bmjm/SI_PM_V001%20Final%20Amit.pbix?dl=0

How to make the Sales amount link to master calendar = 3977

Paulyeo11_0-1602210981195.png

 

Hi,

Download the PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi Ashih

I try to link again  but it still cannot get the correct value , can you share with me what you did ? When i add Price field to the table , Date field value all missing.

Paulyeo11_0-1602221848509.png

 

Hi,

Your Date Table should be from 2003.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi Sir

I just notice that date is wrong , may i know how to adjust ?

Paulyeo11_0-1602232048090.png

 

The formula for the Year should be =year(date[date])


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi Sir

 

it is not due to Year expression , as i have below 2 file one is working fine another one is not working ;-

 

I have below file is working fine 😞 This file is Ash help to link the raw data table to master calendar )

https://www.dropbox.com/s/4u3hnura2x2c4i4/preWebinarPostCal_PY_DATA%20V008%20Working.pbix?dl=0

I have below file is not working :-( This file from Mr Amit and i add my own raw data )

https://www.dropbox.com/s/5pqxtqpx4fb93fq/SI_CSV_v005%20Not%20Working.pbix?dl=0

 

Paul

Hi,

In the Date Table, the formulas in the Date and Year columns should be

Date = CALENDAR(Date(2003,01,01),date(2020,12,31))

Year = year('Date'[Date])+0
Format the Year column as Whole number.
Hope this helps.
Untitled.png

Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi Sir

Thank you for your sharing . I already change but still the same :-

https://www.dropbox.com/s/xgb0k0swewei1lf/SI_CSV_v005%20Not%20Working%20Final.pbix?dl=0

Paul

Someone else will help you then.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi Amit ( edit it should Ash )

May i know where i go wrong ?

Paul

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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