The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
hi team, i created a visual from a table that is rows by weeknum, and columns by year i add the qty by year and group by weeknum.
i now need to take year 2023 and subract year 2022 and get the percentage change.power bi from 1 table
needs to look like this
Hi @jdecker999
most probably this possible but the solution is difficult to explain without a sample file. If possible please provide a dummy sample file.
To add a third and fourth column to calculate the difference and percentage change between 2023 and 2022, you can create two new measures. Here are the steps:
This will give you two new columns in the table visual that show the difference between 2023 and 2022, and the percentage change between the two years.
thanks for suggestion, but the data is not in two separate columns in the fields table. it is in the same column called qty and the same column called dateofservice. my visual above shows table created in visual by row by week and sum of qty by column- year. so my question is, how to take the columns i see in the visual and create a percent from them?
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |