Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Oimat
Helper I
Helper I

How does Analyze data create measures ?

Hello, 

I just found about the Analyze feature (Use the Analyze feature - Training | Microsoft Learn), so I clicked in my chart showing number of employees per month, and analyzed to explain why is it going up. And the Analyze feature showed me a bar chart with the number of employees per department from march compared to april.

In the Y-Axis the measurements are even called "Number of employees in march" and "Number of employees in april".

 

I do not understand how that can be possible : no new column nor measurement was added to my semantic model, and no visual calculation has been created. If I wanted to do the same (applying a filter for one Y-Axis measure while applying another filter to a seconde Y-Axis measure for example), how could I do that ?

 Capture d'écran 2025-07-22 150649.png

1 ACCEPTED SOLUTION
andrewsommer
Super User
Super User

The Analyze feature uses auto-generated DAX and temporary behind-the-scenes measures that Power BI creates dynamically and transiently.  They are not added to your semantic model and do not persist in your dataset.

 

To recreate:

[Employee Count] = COUNTROWS('Employees')

 

[Employees in March] = CALCULATE([Employee Count], 'Date'[Month] = "March")
[Employees in April] = CALCULATE([Employee Count], 'Date'[Month] = "April")

 

Or using dates you can:

[Employees in March] = CALCULATE([Employee Count], MONTH('Date'[Date]) = 3 && YEAR('Date'[Date]) = 2025)

 

Please mark this post as a solution if it helps you. Appreciate Kudos.

View solution in original post

2 REPLIES 2
andrewsommer
Super User
Super User

The Analyze feature uses auto-generated DAX and temporary behind-the-scenes measures that Power BI creates dynamically and transiently.  They are not added to your semantic model and do not persist in your dataset.

 

To recreate:

[Employee Count] = COUNTROWS('Employees')

 

[Employees in March] = CALCULATE([Employee Count], 'Date'[Month] = "March")
[Employees in April] = CALCULATE([Employee Count], 'Date'[Month] = "April")

 

Or using dates you can:

[Employees in March] = CALCULATE([Employee Count], MONTH('Date'[Date]) = 3 && YEAR('Date'[Date]) = 2025)

 

Please mark this post as a solution if it helps you. Appreciate Kudos.

That's what I thought, there is no way to replicate that without creating a new measure. Thank you !

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.