Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
GARMAS97
Regular Visitor

DATE RANGES - AMOUNT SOLD DURING TIME FRAME

Dear all,

 

In this case i want to visualize the amount of items sold during a a certain time frame.

 

I want to import a table with diferent date ranges, f.e:

 

Item ID        ITEMS SOLD      START DATE     END DATE

123              WHAT I WANT    01/02/2020     20/02/2020

12345          WHAT I WANT    01/02/2020     22/02/2020

 

Thing is, i dont have any idea what DAX to use, im pretty new with the interface. Also, i have imported the data from an excel table that ive been updating but it is not reliable, are there any ways to set time frames on my dashboard table without updating the excel table?

 

Thanks!

 

 

5 REPLIES 5
Greg_Deckler
Super User
Super User

So what does your source data look like? Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hi,

 

It is the same as shown, the list of items id's with their start date and end date.

 

 

To do what you want, your data should have the following fields:

 

Date Sold

Item Number

Quantity Sold

 

Then you would use a date slicer on your page, filtering a SUM of quantity sold by item number.

 

 

I have all the sales per day per item the thing i want to look the amount of items sold during a time frame, problem is i dont know what DAX to use, right now the table is giving me the total amount of items sold since its existence.

 

Can you please provide a sample set of data? Thanks!

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.