![810cf0a0393da3bc065478270ab4a78f.jpg](https://quantinsightsnetwork.com/wp-content/uploads/2023/11/810cf0a0393da3bc065478270ab4a78f-341x381.jpg)
Welcome back to
this week’s edition of the Power BI blog series. This week, we look at a hot-off-the-press
experimental feature to complement Power BI’s Quick Measures.
Some time ago,
Power BI released a feature called ‘Quick Measures’ that allowed Power BI Desktop
users to create DAX measures using a built-in template instead of writing the DAX from first principles. This feature
helped users quickly get started with common measure scenarios. However, the number of templates and
flexibility of those templates left much to be desired. Now, Power BI has introduced ‘Quick measure suggestions’, which is a new way to assist the creation of DAX measures using
natural language instead of using templates or writing DAX from scratch.
![](https://sumproduct-4634.kxcdn.com/img/containers/main/./image1-1666776695.png/810cf0a0393da3bc065478270ab4a78f.jpg)
To enable the
feature, you will need to first navigate to the Options menu of Power BI
Desktop and in ‘Preview features’ turn on the switch for ‘Quick measure suggestions’:
![](https://sumproduct-4634.kxcdn.com/img/containers/main/./image2-1666776712.png/721daf2facbf195cfdb8d4d7d358ee62.jpg)
To access the Quick
measure suggestions, select the Modeling tab within the Ribbon and then select ‘Quick
measure’:
![](https://sumproduct-4634.kxcdn.com/img/containers/main/./image3-1666776747.png/eb45f6f32c70920f0cea2aae4429047c.jpg)
Then, select the
Suggestions tab:
![](https://sumproduct-4634.kxcdn.com/img/containers/main/./image4-1666776767.png/6c8a03d1791f5c214fd74f902c5aaf05.jpg)
Here, you can
describe the measure you want to create and hit Generate (or the ENTER key) to get DAX measure suggestions:
![](https://sumproduct-4634.kxcdn.com/img/containers/main/./image1-1666777691.png/a560b9241e59e35ee5d96d21f4f2e385.jpg)
Don’t just take it
for granted though. You should always
validate the DAX suggestions to make sure that it will meet your needs. If you’re satisfied with the suggested
measure, you may click the ‘Add’ button to automatically add the measure to
your model.
Amongst others,
these are just some of the supported measure scenarios:
- Aggregated columns with or without filters
- Count of rows with or without filters
- Aggregate per category
- Mathematical operations
- Selected value
- If condition
- Text operations
- Time intelligence
- Relative time filtered value
- Most / least common value
- Top N values for a category.
There are
limitations though (sadly!). It should
be noted that:
- ‘Quick measure suggestions’ should not be seen as a replacement for
learning DAX. The suggestions provided
by the feature are meant to help fast track measure creation. However, you will still need to validate the DAX suggestions because they may be wrong or not match your intent - this feature is in experimental preview for users to test and give
feedback. It should be noted that the
design and functionality may go through significant changes – so don’t rely on
it just yet - the feature is
powered by a machine learning model that is currently only deployed to US
datacenters (East US and West US). Sadly, if your data is outside the US, the
feature will be disabled by default unless your tenant administrator enables the
‘Allow user data to leave their geography tenant’ setting:
![](https://sumproduct-4634.kxcdn.com/img/containers/main/./image5-1666777646.png/6fd49a454ffd2caa0930f5a6d686bb09.jpg)
Certainly worth
more than a passing glance!
Check back next week for more Power BI tips and tricks!
Be the first to comment