Skip to main content
Announcements
The way to achieve your own success is the willingness to help somebody else. Go for it!
cancel
Showing results for 
Search instead for 
Did you mean: 
thanhphongle
Creator II
Creator II

Showing revenue depending on 2 different date-fields in a bar chart

Hello community

This is my table

order_idorder_datedelivery_daterevenue
100120.01.201821.01.2018100
100220.01.201821.01.2018100
100327.01.201829.01.2018200
100427.01.201829.01.2018200
100531.01.201801.02.2018300
100631.01.201801.02.2018300
100725.02.201827.02.2018100
100826.02.201828.02.2018100
100928.02.201801.03.2018200
101015.03.201815.03.2018500
101130.03.201831.03.2018200
101231.03.201801.04.2018100

Target:

Showing revenue per month with delivery_date considering the order_date in a bar chart

Dimension:

order_date (Main dimension)

delivery_date

KPI:

sum(revenue)

How it should be calculated:


JanFevMar
Revenue by order_date1200400800
revenue by delivery_date600800900

How it should look like at the end (ignoring avril). The main dimension is delivery_date:

target_view.png

Hope anyone can really understand what I'm trying to say.

14 Replies
sunny_talwar

AFAIK may be not... but even it was... it would be a horrible looking and horrible performing expression...

YoussefBelloum
Champion
Champion

I see.. Good to know

thanhphongle
Creator II
Creator II
Author

Thank guys,

I tried with the bridge and it work very good for this data sample. Maybe another question. I have a big data here. About 1 billion datas. The current load take about 2 hours. With the concatenate load the loading process will take more time I guess no?

sunny_talwar

Unfortunately it will... not sure what other option do you have...

thanhphongle
Creator II
Creator II
Author

Ok, thanks a lot for your help guys!