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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.