Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi!
I have a problem. From one moment to other, measures that were working properly are not working anymore, and I can't figure out why.
The measures are of type DATEADD. Measures that show me sales of previous year, are not displaying values anymore. I have VentasUSD Measure (Period Sales) and VentasUSDAA (Previous Period Sales), witch is calculated using DATEADD function.
The Measure VentasUSDAA =
CALCULATE(
CALCULATE(
SUM(
'Ventas'[USD]
) / 1000;
DATEADD(
Fecha[Fecha];-1;YEAR
)
);
USERELATIONSHIP(
'Ventas'[IdFecha];
'Fecha'[IdFecha]
)
)
The measures are in "Ventas" table that is related to "Fecha" table (Dates). In the report I have a slicer to select the desired period. And liked I say, the sales of selected period are working just fine, but the column were the "VentasUSDAA" (Previous Year Sales) is, is not displaying any values. The formula has not changed. It was working just fine hours ago and now it's not working.
Thanks in advance.
Solved! Go to Solution.
It has been solved. It was a relationship problem.
Thanks anyway.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
77 | |
69 | |
52 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |