Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, I have a problem with a line chart where I want to show a percentaje (calculated as a DIVIDE), and the values doesn't match. I have this measure:
Thanks!
Hi, @juan_cel
Perhaps because of the context, the way of using .Month seems to sometimes not get the correct value.
In addition, in the conversion rate measure, [NumLead] is all counted, so in the measure CRJunio, it should also be all counted.
try this:
CRjunio =
VAR _a =
CALCULATE (
COUNT ( Ventas[Venta] ),
FILTER ( Ventas, 'Ventas'[Venta] = "Venta" ),
FILTER ( Ventas, FORMAT ( 'Ventas'[Conversa ion Vrea ed A], "MMMM" ) = "Junio" )
)
VAR _b =
COUNT ( 'Callbell_04-06'[NumLead] )
VAR _divide =
DIVIDE ( _a, _b, 0 )
RETURN
_divide
this works well for my sample data.
Hope this helps.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
is 'Callbell_04-06'[Conversa ion Crea ed A ].[Mes] the actual field on your X axis?
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
71 | |
70 | |
38 | |
27 | |
26 |
User | Count |
---|---|
97 | |
96 | |
59 | |
44 | |
40 |