Forum Discussion

GlassShark1's avatar
GlassShark1
Helper III
3 years ago

Calculated Table for Percentile Values by Category

I've got a source table 'Rent_Tbl' that has a category 'Bedrooms' where values range from 0 to 9. ListingPrice contains the rental cost for each ID (UPRN).

What I want to do is to create a table to calculate the 30th percentile values for 1 bed, 2 bed, 3 bed etc. I can then do things like count the number of properties with rental costs within the 30th percentile.

I originally created a measure to calculate percentile that took number of bedrooms and percentile as input through slicers, but when i wanted to do the above, PBI can't do it because it wants the values in a column. I'm a bit lost with calculated tables.

Thanks

Any help appreciated. Thanks 🙂




1 Reply