cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SRK_23 Regular Visitor
Regular Visitor

Condition in the edit query

Hi, i've an issue with a table (KPI) that is too huge to load, how can I add a condition saying: 

"load the data after January 1st 2018 only" ?

 

Thanks

 

image

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Microsoft v-danhe-msft
Microsoft

Re: Condition in the edit query

Hi @SRK_23,

From your picture, I have noticed that you are using SSAS database, if so, you could edit DAX formula before you impored your data:

EVALUATE
FILTER ( Sheet2, Sheet2[Date] >2018/1/1 )

1.PNG

Result:

2.PNG

You could also refer to this link:

https://www.sqlbi.com/articles/from-sql-to-dax-filtering-data/

Hope it could help you.

 

Regards,

Daniel He

 

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Microsoft v-danhe-msft
Microsoft

Re: Condition in the edit query

Hi @SRK_23,

From your picture, I have noticed that you are using SSAS database, if so, you could edit DAX formula before you impored your data:

EVALUATE
FILTER ( Sheet2, Sheet2[Date] >2018/1/1 )

1.PNG

Result:

2.PNG

You could also refer to this link:

https://www.sqlbi.com/articles/from-sql-to-dax-filtering-data/

Hope it could help you.

 

Regards,

Daniel He

 

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Microsoft v-danhe-msft
Microsoft

Re: Condition in the edit query

Hi @SRK_23,

Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors