Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Example: in excel no problem
Example: in excel no problem
I need in this Chart
how to create ? Percent change of previous year, quarter, month. please help meeeee
Levankup777
you say you need a chart with monthly information (bars), but you haven't provided any Information at describes how your data is structured. You should have a data table and a calendar table.
Read here about data structures
http://exceleratorbi.com.au/the-optimal-shape-for-power-pivot-data/
and here about calendar tables
http://exceleratorbi.com.au/power-pivot-calendar-tables/
@levankup777 Using DAX unlike Excel you can't access previous row so you need to use order of year to access previous row value. So first create a new column with code as below to access previous row value. I created sample csv like your scenario.
= LOOKUPVALUE(sam[Value],sam[Year],sam[Year]-1)
Once you get previous row value, use below code to get percentage difference and apply percentage format to column.
Column 2 = (sam[Value] - sam[Column]) / sam[Column]
my data
This is my data. Please help me with this data. Thank you in advance
Hi @levankup777,
In your scenario, you can create a new table to list records for each month in year 2015 like below:
Then use the method provided by @ankitpatira to calculate difference between each month within year 2015.
If you have any question, please feel free to ask.
Best Regards,
Qiuyun Yu
User | Count |
---|---|
118 | |
66 | |
65 | |
56 | |
50 |
User | Count |
---|---|
182 | |
85 | |
67 | |
61 | |
53 |