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 August 31st. Request your voucher.

Reply
SantiViMa
New Member

Assign Table Value based on min and max values

Hello everyone,

 

On the one hand I have a table with the volume of a series of packages that I read from one source:

ID_PackageVolume[m3]
92611,87
10324,56
12748,69
124830,02
121517,14
126645,32

 

On the other hand I have different cattegories of packages based on minium and maximum volumes:

Volume_MinVolume_MaxPackage_Type_per_Volume
02,5< 2,5 M3
2,57,52,5-7,5 M3
7,5157,5-15 M3
153015-30 M3
305030-50 M3
5099999>50 M3

 

Is there any way to include the "Package_Type_per_volume" info in the first table without using "IF" conditions? This second table can be easily modified and if I use IF conditions I will need to modify it each time I change the scale. The idea would be to get this table:

ID_PackageVolume[m3]Package_Type_per_Volume
92611,877,5-15 M3
10324,562,5-7,5 M3
12748,697,5-15 M3
124830,0230-50 M3
121517,1415-30 M3
126645,3230-50 M3

 

Thanks in advance!

2 REPLIES 2
johnt75
Super User
Super User

Thanks, I will but it looks like it could work!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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