cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
v-danhe-msft Super Contributor
Super Contributor

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
v-danhe-msft Super Contributor
Super Contributor

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

v-danhe-msft Super Contributor
Super Contributor

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
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 52 members 857 guests
Please welcome our newest community members: