Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Tengo la siguiente medida que me funciona bien al segmentar 1 año (ejemplo 2022), pero al segmentar 2 años (ejemplo 2022, 2021) me da error al leer datos, puede ser que el comando VALUES no sea el adecuado
% año actual2 = DIVIDE(CALCULATE(SUM(Consulta1[saldo_actual])),(CALCULATE(SUM(Consulta1[saldo_actual]),Consulta1[Etiqueta]= "Ingresos", Consulta1[year]= VALUES(Consulta1[year]), ALL())),0)
por favor tu ayuda
Solved! Go to Solution.
@hansaraneda , use in
% current year2 = DIVIDE(CALCULATE(SUM(Query1[current_balance])),(CALCULATE(SUM(Query1[current_balance])
,Query1[Label]= "Revenue", Query1[year] in VALUES(Query1[year]), ALL())),0)
Thank you very much for your help, it was the correct solution
@hansaraneda , use in
% current year2 = DIVIDE(CALCULATE(SUM(Query1[current_balance])),(CALCULATE(SUM(Query1[current_balance])
,Query1[Label]= "Revenue", Query1[year] in VALUES(Query1[year]), ALL())),0)
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 |
|---|---|
| 50 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 37 | |
| 29 | |
| 27 |