The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi there,
I was hoping for some advice on an inactive connection I currently have between two tables (Calendar and EnquiryDetails). Calendar has a number of fields relating to dates with an active connection between CalendarDate and LeadDate. Both of which are in DD/MM/YYYY format.
Other inactive connections have been set up between the CalendarDate and other fields in EnquiryDetails, in particular, EnquiryDebameRejected which is in the format DD/MM/YYYY HH:MM:SS. I've created a USERELATIONSHIP in a measure between the two with the following:
CRM_Rejected_Enquiries = calculate(COUNTROWS(ENQUIRYDETAILS),ENQUIRYDETAILS[EnquiryCurrentStageID] = {4}, USERELATIONSHIP('CALENDAR'[CalendarDate],ENQUIRYDETAILS[EnquiryBecameRejected]))
However, when I select anything in the date slicer no information appears as it should. Am I right in thinking that the difference in date formats is causing this issue? I don't have access to change the field to DD/MM/YYYY so is there a way I can change and link this without getting a new column added in? Or if this is not the issue can anyone advise where I am going wrong?
Solved! Go to Solution.
Hi @JamesMF1982
1) try this:
USERELATIONSHIP takes the "many" side of the inactive relationship as the first argument and the "one" side as the second.
Then you would also need both columns to be the same type. Can you convert the daytime to a date? If you need to retain the timestamp I would duplicate the column, convert that to a date type and then adjust my inactive relationship to use this new column.
Hi @JamesMF1982
1) try this:
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
19 | |
12 | |
9 | |
5 |