The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
I am trying to do a report where I need to show all account a list of account and the sum of the values between a certain date range.. however I also need to list accounts that dont have values and subsequently do not have dates.
I would preferably like to have the date slicer as between style so the user can choose the date range they need, but at the same time to also show "blank" dates... Is there any way this is possible.
Thank you.
Jerusha
Solved! Go to Solution.
my suggestion is do not create relationship between date table and fact table.
And create a measure
Proud to be a Super User!
Hi,
In Power Query, ensure that the data type of the Date Ref column is Date. Create a Calendar Table and build a relationship (Many to One and Single) from the Date ref column to the Date column of the Calendar Table. To your slicer, drag Date from the Calendar Table and select any date range. Write this measure
A = sum(Data[amount])
Hope this helps.
Hi Ashish,
Thank you for the reply and solution. I will try it now and let you know.
do you have measures? or you just display the table visual by date range selection?
Proud to be a Super User!
Hi Ryan,
I did not create any measure as yet... the the table has all the amounts and it will need to sum the amounts within the date range. I wont necessarily need to display the dates in the visual.. As long as the user know what dates they choose and can be seen on the slicer 🙂
my suggestion is do not create relationship between date table and fact table.
And create a measure
Proud to be a Super User!
Thanks so much Ryan.. this shows me all the data.. Im definitely on the right track now
you are welcome
Proud to be a Super User!
User | Count |
---|---|
80 | |
73 | |
39 | |
30 | |
28 |
User | Count |
---|---|
107 | |
99 | |
55 | |
49 | |
46 |