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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
Memorable Member
Memorable Member

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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