From the course: Excel and ChatGPT: Data Analysis Power Tips
Unlock the full course today
Join today to access over 23,100 courses taught by industry experts.
Generate DAX and M Code
From the course: Excel and ChatGPT: Data Analysis Power Tips
Generate DAX and M Code
- [Instructor] So we've talked about how to use tools, like ChatGPT and Bard, to generate or interpret Excel worksheet formulas. Now let's take it a step further and see if we can use those tools to generate DAX or M Code as well. So for this demo, what I've done is loaded up a simple movie table into Excel's data model. You can see I've got movie titles here, along with fields like genre, country, rating, IMDB score, and gross revenue. Now suppose we want to do some analysis and understand average IMDB scores for different combinations of genre and rating. Well, one way to do that would be to use a PivotTable, like so. You can drop it right here into our worksheet. Let's go ahead and activate our Field list. And suppose we care specifically about the average IMDB score. Go ahead and change the Field Settings from Sum to Average for PG-13 rated films specifically. we'll filter down to just PG-13, and only for Action…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Intro to ChatGPT for Excel1m 43s
-
(Locked)
Explain fundamental Excel concepts8m 54s
-
(Locked)
Generate Excel formulas from descriptions7m 45s
-
(Locked)
Generate DAX and M Code5m 12s
-
(Locked)
Automate tasks with VBA macros4m 52s
-
(Locked)
Generate formulas from sample data6m 6s
-
(Locked)
Ask for Excel data visualization advice4m 53s
-
(Locked)
Produce step-by-step Excel tutorials10m 36s
-
(Locked)
Collaborate on data prep and EDA6m 40s
-
(Locked)
Generate sample datasets5m 14s
-
(Locked)
-