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
Anonymous
Not applicable

Query containment concept with DAX

Hello,

 

I am wondering whether I can get some help on a DAX concept.  I am working towards the British Computer Society Data Analysit qualification.  One of the requirements I have to fullfil for this qualification is Query Containment. I thought DAX can be used as a Query containment tool?   I have so far used measures such as CALENDARAUTO, SAMEPERIODLASTYEAR and DATESINPERIOD with CALCULATE. I don't use SQL. So if someone could confirm DAX measues are accepted as query containment that would be very helpful.  Also are my three DAX mentioned above would be accepted as query containment. 

Thank you very much

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , there is a lot of definition around Query Containment. Can you explain your need ?

 

The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

Anonymous
Not applicable

Thanks for your comments. 

I have to demonstrate the skill to filter and retrieve specific data using database queries in more than one database table. It sounds like this query containment is equivalent of a SELECT command and a nested query? My question is whether some of the DAX measures such as SAMEPERIODLAST YEAR etc can be used for query containment?  

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.