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 want to compute a monthly running total of the count of published "reference" :
RT_TargetPub = CALCULATE(
COUNT('Export_D2 (2)'[Référence]),
FILTER(
ALL('Export_D2 (2)'[Cible_PUBLICATION].[Date]),
'Export_D2 (2)'[Cible_PUBLICATION].[Date]<= MAX('Export_D2 (2)'[Cible_PUBLICATION].[Date])
)
)
The outcome is correct until february 2025 (the current month) but I got results for all month of 2025. How can I get results stopping consistently with the last date of my publication?
@spetiteau , Try using
RT_TargetPub =
CALCULATE(
COUNT('Export_D2 (2)'[Référence]),
FILTER(
ALL('Export_D2 (2)'[Cible_PUBLICATION].[Date]),
'Export_D2 (2)'[Cible_PUBLICATION].[Date] <= MAX('Export_D2 (2)'[Cible_PUBLICATION].[Date]) &&
'Export_D2 (2)'[Cible_PUBLICATION].[Date] <= MAXX(ALL('Export_D2 (2)'), 'Export_D2 (2)'[Cible_PUBLICATION].[Date])
)
)
Proud to be a Super User! |
|
i've tried
RT_TargetPub = CALCULATE(
COUNT('Export_D2 (2)'[Référence]),
FILTER(
ALL('Export_D2 (2)'[Cible_PUBLICATION].[Date]),
'Export_D2 (2)'[Cible_PUBLICATION].[Date]<= MAX('Export_D2 (2)'[Cible_PUBLICATION].[Date]) &&
'Export_D2 (2)'[Cible_PUBLICATION].[Date] <= MAXX(ALL('Export_D2 (2)'), 'Export_D2 (2)'[Cible_PUBLICATION].[Date]) &&
'Export_D2 (2)'[Cible_PUBLICATION].[Date] <> BLANK()
)
)
I have still the same result
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 |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 19 | |
| 17 | |
| 11 |