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
dgolovanova
Frequent Visitor

Something like Case expression

Good afternoon.
Help me, please.
There are two tables (filtered for clarity), the connection by Holding and Brand.
Need to calculate the proviso depending on the range in which the value falls.
In my example it should be 21% of the number 10,867,091.6.
Thanks in advance for the tip.

 

Proviso.jpgSum_values.JPG

3 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@dgolovanova , Not very clear. If I want to put another table

New column in table 1, assume above table 2

 

Maxx(filter(Table2, Table1[Brand] =Table2[Brand]  && Table1[Holding] =Table2[Holding] 

&& Table1[Value] >=Table2[start]  && Table1[Value] <=Table2[end] ), Table2[%] )

 

Or

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

View solution in original post

It works!

Thanks a lot. 

View solution in original post

Hi @dgolovanova ,

Is there anything else you need help with regarding this thread? If not, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem with you. Thank you.

Best Regards

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

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@dgolovanova , Not very clear. If I want to put another table

New column in table 1, assume above table 2

 

Maxx(filter(Table2, Table1[Brand] =Table2[Brand]  && Table1[Holding] =Table2[Holding] 

&& Table1[Value] >=Table2[start]  && Table1[Value] <=Table2[end] ), Table2[%] )

 

Or

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

It works!

Thanks a lot. 

Hi @dgolovanova ,

Is there anything else you need help with regarding this thread? If not, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem with you. Thank you.

Best Regards

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

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.