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.
For exmaple this is my data:
I am looking to add another colum shows the change in counts between 2019 and 2020, and also the % change. So for example france would have a value of -113 for the chage in counts and 20% change %.
Solved! Go to Solution.
There @alexBL
Is this what you want?
I realized this with measurements. You can download the PBIX from here. Please let me know if this helps.
2019 = SUMX(FILTER(Table1,Table1[Year]=2019),Table1[Value])
2020 = SUMX(FILTER(Table1,Table1[Year]=2020),Table1[Value])
Change = [2020] - [2019]
Change % = DIVIDE([Change],[2019])
Community Support Team _ Jing Zhang
If this post helps,please consider Accepting it as the solution to help other members find it.
There @alexBL
Is this what you want?
I realized this with measurements. You can download the PBIX from here. Please let me know if this helps.
2019 = SUMX(FILTER(Table1,Table1[Year]=2019),Table1[Value])
2020 = SUMX(FILTER(Table1,Table1[Year]=2020),Table1[Value])
Change = [2020] - [2019]
Change % = DIVIDE([Change],[2019])
Community Support Team _ Jing Zhang
If this post helps,please consider Accepting it as the solution to help other members find it.
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 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |