Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
TransfoBart
Regular Visitor

how to create the PRODUIT function in DAX

Dear all,

I have been tasked to create a PowerBI dashboard, in which there is a portfolio of holdings. All fine, but one requirement: calibrate the portfolio every 15 days.  I figured all out in Excel, and came quite far in PowerBI DAX. That is: up to the column "cumul calibration" as shown below.  In excel it´s a plain PRODUCT function, but I have no clue how to do this in DAX.

 

 

TransfoBart_0-1680025676924.png

Would be great if anyone can help me out,

cheers

3 REPLIES 3
TransfoBart
Regular Visitor

Dear Daniel, I would like to use this as a measure: the values in the [calibration per 15 days] are coming from a measure. However, if I do that, I am missing the row context; "EARLIER refers to an earlier row context which doesn´t exist".  Any ways around this?

TransfoBart
Regular Visitor

merci beaucoup Daniel!  Works beautifully...

wdx223_Daniel
Super User
Super User

NewColun=PRODUCTX(FILTER(Table,Table[Date]<=EARLIER(Table[Date])),Table[calibration per 15 days])

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.