March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi, I have the following problem.
My data look like this (comes from an Excel file):
Through DAX y manage to get the value of the same date but from the period of the past year, so far the table on PBI look like this:
Now I want to aggregate a column with the variation in percentage but I am having trouble with how to do that.
Thanks !!
Solved! Go to Solution.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous,
If the values you present here are two calculated measures you simply have to make something like this:
Variation = Divide( [Dólar] ; [Dolar Ano Ant]) -1
And then format as a %, if this values are not measures you need to make them both as measures.
can you share the syntax for both values and of they are measures?
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @MFelix
The column of "Dólar" it's the value from the data (the Excel file) meanwhile the column "Dolar Año Ant" it's a calculated measure with the following syntax:
Dolar Año Ant = CALCULATE(SUM(Longitudinal[Dólar]),SAMEPERIODLASTYEAR(Longitudinal[Fecha]))
Thanks !!
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsMarch 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |