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
Hello everyone,
I would like to ask you for help with a problem I have with a calculated column 22VS21.
what I wanted was that the column 22vs21 = (2022 values - 2021 values) / 2021 values
the calculations should result to client 1
22vs21 = (300 - 200) / 200 = 0,5
the table with the results
I can't understand what I'm doing wrong in the formula, can someone help me?
Solved! Go to Solution.
@ngomes instead of using calculated column, you need to use measures
MEASURE = DIVIDE((SUM(tbl[2022])-SUM(tbl[2021]))/SUM(tbl[2021]))
Unless you use measures, the values from calculated table will not be aggregated the way you are desiring.
@ngomes instead of using calculated column, you need to use measures
MEASURE = DIVIDE((SUM(tbl[2022])-SUM(tbl[2021]))/SUM(tbl[2021]))
Unless you use measures, the values from calculated table will not be aggregated the way you are desiring.
that's right, thanks so much for the help.
March 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 |
---|---|
133 | |
90 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
70 | |
68 |