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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.