Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I need to create a dynamic return graph in power BI to calculate return for a given period (Final/First Value), based in one slicer for Fund, and other for date, like below:
I tried to create a measure like the one below, but it gives always 1.
Solved! Go to Solution.
Hi @Pedro_borges ,
Please update the formula of measure [Return Measure] as below and check if that is what you want. You can find the details in the attachment.
Return Measure =
VAR _mindate =
CALCULATE ( MIN ( Resultados[Data] ), ALLSELECTED ( 'Resultados' ) )
VAR _fdCFIC =
CALCULATE (
SUM ( 'Resultados'[Cota FIC] ),
FILTER ( ALLSELECTED ( 'Resultados' ), 'Resultados'[Data] = _mindate )
)
RETURN
DIVIDE ( SUM ( 'Resultados'[Cota FIC] ), _fdCFIC )
Best Regards
Hi @Pedro_borges ,
Please update the formula of measure [Return Measure] as below and check if that is what you want. You can find the details in the attachment.
Return Measure =
VAR _mindate =
CALCULATE ( MIN ( Resultados[Data] ), ALLSELECTED ( 'Resultados' ) )
VAR _fdCFIC =
CALCULATE (
SUM ( 'Resultados'[Cota FIC] ),
FILTER ( ALLSELECTED ( 'Resultados' ), 'Resultados'[Data] = _mindate )
)
RETURN
DIVIDE ( SUM ( 'Resultados'[Cota FIC] ), _fdCFIC )
Best Regards
It worked perfectly. Thank you!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 59 | |
| 51 | |
| 46 |