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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
VitaliiCH17
Frequent Visitor

How to use parametets in the USERELATIONSHIP function?

Hi,

In my fact table, I have three date columns - Invoice Date, COPA Date, and Posting Date. Based on requirements user should have the possibility to filter data based on the selected date type.

I've linked the Date table with the fact table by three connections and created a slicer with three date types - Invoice Date, COPA Date, and Posting Date.

I would like to change the second parameter in the USERELATIONSHIP based on the selection in my slider.

For instance, when the user selects Invoice Date in the slider - the second parameter is 'Facts'[Invoice Date].

Is this possible to do? 

 

Regards,

Vitalii 

 

1 REPLY 1
sevenhills
Super User
Super User

See if this article help you

 

https://www.daxpatterns.com/parameter-table/

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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