I am re-creating the Data Module in Cognos Analytics from my PowerBi Data Module. I have a measure I created in PowerBi but don't know to to implement in Cognos. need some help.
The DAX measure in PowerBi is :
Ventes AAD =
CALCULATE([Ventes PlageDate],
DATESBETWEEN(dim_Calendrier[Date],
DATE(YEAR(TODAY()), 1, 1),
DATE(YEAR(TODAY()),MONTH(TODAY()),DAY(TODAY()))-1))
* where [Ventes PlageDate] is another measure : Ventes PlageDate = SUM(fact_Ventes[TOTAL_AMOUNT])
So it is calculating the sales made between 2 dates.
How can I rewrite this in a Cognos Calculation? the Ventes PlageDate, I already created the calculation for it in Cognos using total(...)
Thank you
-Kayed
------------------------------
Kayed Chehade
------------------------------