Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am new to Power BI, could you please suggest me how can we achieve the below requeriment.
I have month and year slicer like Dec 2017, Nov 2017,Oct 2017, Sep 2017........Jan 2017, when ever select any one of the month then show that month "Total Sales", "Total Quantity" and show last 12 months Sales on bar chart.
Regards,
Chalam.
Solved! Go to Solution.
Hi @chalam87,
I'd like to suggest you create new table to expand the date range between these date columns and build relationships to original table. After these steps, you can use new table's date as parameter to calculate.
Reference link:
Regards,
XIaoxin Sheng
Please any one can share dax query for thos problem .I want to dispaly previous 12 months sales including slicer month
Hi @chalam87,
You can refer to below link to know how to write a measure as the dynamic visual title:
Regards,
Xiaoxin Sheng
Hi @chalam87
One approach is to not have a relationship between the date table you use as your slicer and your Retail Sales table.
This way you can create a calculated measure that you can use as s filter on your visual that allows a date range that is not filtered by the slicer table.
I've uploaded a cut down version here for you to have a look at
https://1drv.ms/u/s!AtDlC2rep7a-oD0hNMo_6maOMyVY
Hi Phil_Seamark,
Thank you for quick reply.
I tried your solution it's working fine when we have only view measures based on date column in Retail Sales but in same table i have two more dates(shipdate and receiptdate).
If calculate based on shipdate and receiptdate, the result is giving wrong.
Could you please suggest me how can manage more than one date.
Regards,
Chalam.
Hi @chalam87,
I'd like to suggest you create new table to expand the date range between these date columns and build relationships to original table. After these steps, you can use new table's date as parameter to calculate.
Reference link:
Regards,
XIaoxin Sheng
Show last 12 months sales including slicer month and tables have a relationship in Power BI.How it can do with relationship.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
96 | |
82 | |
74 | |
66 |
User | Count |
---|---|
121 | |
105 | |
102 | |
82 | |
72 |