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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Chandra_maha
Helper I
Helper I

Interaction not working with reports

Hi,

 

I have following reports, where is has Start date of employees and End data of Employees. Also, I have created a Calendar table with dates.

I have created a relationship of Start date to Date as Many to one. I wanted to create another realtion End date to Date, but I could not as PowerBI not allowing and getting error

Chandra_maha_0-1669631141809.png

This is the actual Report  -

Chandra_maha_1-1669631329721.png

When I am clicking on positive values (Start date of employees), I am getting employee details in following report. However, when I click on negetive value (Exit data of employee) then I do Start date of employee. Basically, I am not getting correct data.

My undestanding is that, because of the realationship, I have created with Start date - its working for Start date. And, as I can not create a realtionship with End Date, its not working for End date.

Is there a way, we can resolve this and can it start working for Start date and End Date.

 

4 REPLIES 4
Arul
Super User
Super User

@Chandra_maha ,

It can be resolved by creating inactive relationship between End date of Employees Table and date in calendar table and then write a measure for that Exit date of employee.
Could you share the sample data ?

Thanks,





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Hello @Arul 
Thank you for response. I have inactive relationship for End Date and Date. Following is the sample data

Employee NameStart DateEnd Date
b02-10-2017 
c28-03-202130-12-2021
d01-03-2020 
e31-03-201429-11-2021
f01-02-2021 
g17-11-2019 
h31-03-202025-04-2022
i04-05-2021 
j09-02-201428-03-2021
k17-01-202130-08-2021
l29-09-2018 
m02-01-2017 
n30-04-202108-08-2021
o 04-07-2022
p01-07-2014 
q22-03-2020 
r21-10-2018 
s18-04-202130-04-2021
t15-03-2020 
u10-03-201929-06-2021
v03-11-202004-05-2021
w02-03-202007-02-2022
x02-06-201916-12-2020
y15-03-2020 
z25-02-201417-06-2021
qw05-04-202001-05-2022
dsd10-06-201813-05-2021
fg07-03-2021 
ert30-06-201425-02-2021
bgf30-06-201917-10-2021
hg28-03-202125-04-2022
ert11-04-202107-08-2022
df16-03-2021 
xc21-03-202114-11-2022
sd16-02-202124-11-2021
sd31-01-202014-06-2022
ew17-03-202129-11-2021
bf28-07-201911-09-2022
sd01-01-201827-07-2021
yt15-03-202007-10-2021
uj18-04-201730-05-2021
iki31-10-2019 
we02-06-201908-03-2021
ht16-02-202030-03-2021
qw19-01-202124-10-2021
vb09-06-201929-08-2021
tg03-12-2017 
fg20-01-201917-02-2022
sd31-08-201927-02-2021

 
Thank you in advance.

Hello @amitchandak 
Thank you for this information. 
However, when I am checking your file and trying to replicate according to my requirements, its not working or not getting the result as expected. I tried creating following table in your file as per my requirement.


When there is no relationship between Start/End date with Date Table
- Getting unrelated data.

Chandra_maha_1-1669701606790.png


When creating a relationship with Start Date with Date table
- Getting the correct data. 
- Also, when I am clicking on bar (Start date) following table of User information is getting filter correctly.
- However, it does not happen when I click on Exit/End Date, as there is no relationship with Date table.
- This is where, I am facing the issue

Chandra_maha_0-1669701502557.png

- I need solution, where If I click on End/Exit then it should filter correct data in Employee information table and Vice versa of Start date.

Thank you!

 


 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.