cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gordon2 Helper IV
Helper IV

dynamic ranges in columns and rows

I got the dynamic table with sales by price and by size.

Sales is calculated between the points selected on slicers.

This works fine but doesnt not look good. Instead of values in rows and column, I would like to have ranges.

For instance:

Instead of size =111, I would like to have 0-111 in column

Instead of price = 33, I would like to have 22-33 in rows

 

Column and rows values are dynamic based on slicer's selection

Capture11.PNG

 

As I know dynamic columns are not supported but maybe is a workaround?

Any unconventional ideas very appreciated

 

6 REPLIES 6

Re: dynamic ranges in columns and rows

You need to create a RANGE Table, something like this

0 0-22

0-22

0-22

0-22

0-22

0-22

0-22

...

and then create a relationship in both ways, between Table[PRICE} and NewTable[column1]

and then do the same with the SIZE column creating another table.

Gordon2 Helper IV
Helper IV

Re: dynamic ranges in columns and rows

What is the first column?:

0

1

2

3

...

 

 

Re: dynamic ranges in columns and rows

yeah

Column1
 0 
Column2
0-22

Gordon2 Helper IV
Helper IV

Re: dynamic ranges in columns and rows

@rafaelmpsantos But I do not understand what is a purpose of this and what it is exactly.

 

I thinking of doing a crossjoin SIZE with SIZE

Capture.12PNG.PNG

but it is not fully working:

Capture14.PNG

here is the data model:

Capture13.PNG

Re: dynamic ranges in columns and rows

Can you send me this pbi file?

Gordon2 Helper IV
Helper IV

Re: dynamic ranges in columns and rows

At this moment I can place data here:

 

fact table

yearproductcolorsizesales valuevolume
2017chairblack1207002
2017chairwhite1207013
2017chairyellow1307024
2017chairgreen1407035
2017chairbrown1507046
2017chairfiolet1607057
2017tableblack1207068
2017tablewhite1207079
2017tableyellow13070810
2017tablegreen14070911
2017tablebrown15071012
2017tablefiolet16071113
2018chairblack12030014
2018chairwhite12030115
2018chairyellow13030216
2018chairgreen14030317
2018chairbrown15030418
2018chairfiolet16030519
2018tableblack12030620
2018tablewhite12030721
2018tableyellow13030822
2018tablegreen14030923
2018tablebrown15031024
2018tablefiolet16031125
2018tablered17031226

 

price table (from 1 to 9999)

PRICE
1
2
3
4
5
6
7
8
9
10
11
12

 

size table (from 1 to 9999)

SIZE
1
2
3
4
5
6
7
8
9
10
11
12

Helpful resources

Announcements
‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors