Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
In the DateKey sales table, this is the only column related to date and year. I converted it to year. The years range from 2006-2008. I want to calculate sales by years. For example, total sales in 2006, 07, and 08 in Asia, Europe and NA. I tried to write DAX measures but my formula is not working. Could you please help me?
Solved! Go to Solution.
In that case you can convert it to list from the drop down in the top right corner of slicer as shown below :-
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @Anik ,
Can you try to add sales data from your "FactOnlineSales" table and Dates from Date table in your table visual.
Now use Date from date table as slicer. It will help you to get desired output.
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi Samarth, I tried everything what I know. But nothing is working. could you please have a try? I have shared my file. https://drive.google.com/file/d/1ooJUMY1ZIUyUdSMDKBhnScrSBRTh5Hyg/view?usp=sharing
Hey, you've made a range slide. It's a good try 🙂. I want a slicer/table contains 2006, 2007, and 08. I want to click any specific year and it will show total sales of that year. I dont know why it is so complex to me 😪
In that case you can convert it to list from the drop down in the top right corner of slicer as shown below :-
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Samarth, thank you so much. It worked finally. There's a column in the Dimdate table called fiscalyear that I missed. I knew you can solve it 🙂.
It seems weirs to me to have year as the datekey in the date table. Is their a relathionship between your sales table and th date table?
If yes on what column?
Hello
1) Do you have a Date table?
2) Give us the Dax measure you tried
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
25 | |
21 | |
19 | |
14 | |
11 |
User | Count |
---|---|
43 | |
35 | |
25 | |
22 | |
22 |