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
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
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 255 members 2,881 guests
Please welcome our newest community members: