cancel
Showing results for 
Search instead for 
Did you mean: 

Operations with values of current and previous month ..

Khalilo
Explorer
0 Kudos

Hallo ..

having a kind of cross table with a simple Measure and 2 dimensions.(Month and Color).

i am triying to dynamically calculate the ratio of Amount between month x and month x-1 trough all table cells (see Attachement). Any idea how to realize this ..?

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Lothar_Köder
Participant
0 Kudos

Hello Mohamed,

If you use a acquired model with month as date dimension you could work with a calculated metric of type "Difference from" as well:

Looks like this at the end:

Best regards

Lothar

Khalilo
Explorer
0 Kudos

a small detail in this regard. ths reason for missing option of "Difference from" was an incompleted configuration of time Views ..
If you use standard Time Views in DWC then no need for any action. Otherwise if you use own Time Views then all associations should be configured exactly as native ones ..

Answers (2)

Answers (2)

Khalilo
Explorer
0 Kudos

Thanks for the answers ..

@Lothar .. Correct this would solve it.

But for or an unknown reason this calculation type "Diference from" is not displayed for the DWC Model we are using (obviously not available for each and every model )

William_Yu
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi mokatif,

You need two cross calculations/calculated measure:

  1. Restricted Measure with Month -1 : restrict on time dimension -> navigation 'Last Month'
  2. Calculation Measure: standard measure / month -1

Best regards, William