Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 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.
Hello. Im new to power bi and need helt with something very basic. I want to make a line chart where price follows the year like in the power query table. Somehow it not working and the charts doesnt make sense.
Solved! Go to Solution.
HI, @LFM
try to make new column in your old table (weekly Prices) which has column date1 and price column and then put new column(week column) in X- axis and Price In Y - axis
and make sure sum of price instead count of price in Y- axis
or
make sure your new table(Weeklyprices) is connected with (Weekly prices) with common column like date
Yes, thats what I did in the second chart. Its just showing a straight line somehow. When i use barchart f.eks. it shows the values "2" for 2022 and "50" for 2023.
I should have a value for every week
Hi, @LFM
create new column using below dax
weeknumber =
weeknum(ypurtablename[datecolumn])
and put that column in X- axis
Thanks for your help, but still there are something wrong with the values in the charts. I dont know why every week have the same value.
HI, @LFM
try to make new column in your old table (weekly Prices) which has column date1 and price column and then put new column(week column) in X- axis and Price In Y - axis
and make sure sum of price instead count of price in Y- axis
or
make sure your new table(Weeklyprices) is connected with (Weekly prices) with common column like date
Hello @LFM ,
you're seeing the data per year, you need to create a week dimension field and attack it.
check this https://www.youtube.com/watch?v=BirVo-FsekE
Proud to be a Super User! | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
78 | |
52 | |
39 | |
35 |
User | Count |
---|---|
94 | |
79 | |
51 | |
47 | |
47 |