Forum Discussion
edavila
Helper II
9 years agoAmounts not showing Correctly
I have 2 tables one that has all the dates from 2 years listed and also the name of the month, week and year and I create a report as table to show the Balance sheet for the company at a certain ...
parry2k
Super User
9 years agoYou understood it correctly, what is your data source? I will send your DAX soon.
edavila
Helper II
9 years agodata source is imported by excel
and thank you
- parry2k9 years ago
Super User
Here are four columns you need to add, two are for sorting and you can hide those ones:
Month and Year = FORMAT('Calendar'[Date], "MMM-YYYY") Month Sort = FORMAT('Calendar'[Date], "YYYY-MM") Week and Year = "Week " & FORMAT('Calendar'[Date], "WW-YYYY") Week Sort = FORMAT('Calendar'[Date], "YYYY-WW")To sort, after above columns are added, go to modelling table, select "Month and Year" column and select "Month Sort" in "Sort by Column" drop down, do the same form "Week and Year", use "Week Sort"
- add hierarchary with Year, Month and Year and Week and Year" columns and now use this hierarchary on your axis.
I hope it will get you going.