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
Anonymous
Not applicable

USERELATIONSHIP (How To?)

Hi Everyone,

 

I currently have a problem wherein I dont know how I'll be able to use my date slicer, in order for me to slice customers enrolled using my date table. Currently I am using a 'Reporting Week' Column built in to the transaction table. The current relationships look like this:

mlbrga_2-1670577676538.png

Visual in Case:

mlbrga_0-1670577472873.png

 

When I create a relationship between 'Paperless Enrolled' and 'Date Table' , I get an ambiguous relationship

 

mlbrga_3-1670577797852.png

 

What can I do in order for me to be able to use the date table to slice my visual using the date table instead of the dates inside the transactional table? Thanks!

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi @pratyashasamal , upon using the USERELATIONSHIP, it returns me a total of 539 every month,

 

image.png

 

here's the dax for the current measure which I used from the SQLBI Guide. I'm not entirely sure what's missing.

 

image.png

Ideally it should return something like this:

image.png

 

Appreciate your help!

Hi @Anonymous ,
Can you send over the sample dataset or sample pbix file so that i could understand what is causing the issue .
Thanks ,
Pratyasha





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

Proud to be a Super User!





pratyashasamal
Super User
Super User

Hi @Anonymous ,
There is a guide to Userelationship function in Power Bi :
https://www.sqlbi.com/articles/using-userelationship-in-dax/

Thanks ,
Pratyasha

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C





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

Proud to be a Super User!





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.