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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors