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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Dear All
Pls your help, I have a table in PBI Desktop, but it is not taking into account the month segment. I have applied the month of January and the table with calculate continues showing me Feb, Mar, etc., when the correct thing would be to show values in 0.
I used the CALCULATE function:
What would the function need to calculate based on the applied month segment? Or what would be the correct function?
Regards
Rodrigo P.
Solved! Go to Solution.
Hi,
I am not sure how your semantic model looks like, but please try something like below whether it works.
KEEPFILTERS DAX FUNCTION Microsoft Learn
Cantidad Facturada Enero =
CALCULATE (
SUM ( 'Detalle Facturacion'[Cantidad Facturada] ),
KEEPFILTERS ( 'Detalle Facturacion'[Mes Nombre] = "Ene" )
)
Hi,
Ensure that the month slicer is from the Calendar table. Simplify your measure to
=SUM('Detalle Facturacion'[Cantidad Facturada])
Hi,
Ensure that the month slicer is from the Calendar table. Simplify your measure to
=SUM('Detalle Facturacion'[Cantidad Facturada])
Hi,
I am not sure how your semantic model looks like, but please try something like below whether it works.
KEEPFILTERS DAX FUNCTION Microsoft Learn
Cantidad Facturada Enero =
CALCULATE (
SUM ( 'Detalle Facturacion'[Cantidad Facturada] ),
KEEPFILTERS ( 'Detalle Facturacion'[Mes Nombre] = "Ene" )
)
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 49 | |
| 46 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 88 | |
| 75 | |
| 41 | |
| 26 | |
| 26 |