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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Store dynamic values based on filter selection

Hi All,

 

I am stucked in a problem of converting one of the dynamic filter from SQL procedure to power bi

 

I have Billing Type filter which has following values

PowerOn_DP_0-1621494413924.png

My filter will use TypeDescr as a selection and I need to check BillingType value into my fact table

The problem is a many to many relationships as there are two records for Billing in DimProcess

So When the filter have All selected by default it needs to be check Billing one time only 

 

What I want to achieve is 

When a user selects 1st of the month or 15th of the month, I want to check Billing into fact table

When a user selects Flexible then I want to check FLEXDDBILL 

And as it is All by default I want to check for Billing and FLEXDDBILL.

 

This is how I had in the Stored procedure 

PowerOn_DP_1-1621495061045.png

 

Any help must be appreciated.

Thanks

 

2 REPLIES 2
v-angzheng-msft
Community Support
Community Support

Hi, @Anonymous 

 

Here are some references that may help you

Many-to-many relationship guidance 

Filtering on many to many relationship 
Apply many-many relationships in Power BI Desktop 

Many-to-One or Many-to-Many? The Cardinality of Power BI Relationship Demystified 

It’s Complicated – Dealing with Many to Many Relationships in Power BI 

 

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

I have added a bridge table between both tables causing many to many relationship this works for me. thanks

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.