Can AI Write DAX in Power BI? What to Watch Out For @LeilaGharani
Can AI Write DAX in Power BI? What to Watch Out For  @LeilaGharani
Uploaded February 2023 | Updated December 2026, 3 hours ago
I test AI-written DAX measures in Power BI on a real model and show where they go wrong, so you know what to check.
πŸŽ“ Free Power BI QuickStart course: link.xelplus.com/yt-g-AI-powerbi-starter

⭐ Fast Track to Power BI: xelplus.com/course/fast-track-to-power-bi (500,000+ enrolled in our courses)

Vague prompts fail, so "total sales value" only worked once I said to multiply Quantity by Price. The AI adds KEEPFILTERS and CALCULATE where you don't need them, and puts the table name in front of measures, which breaks the formula if you move the measure. It can't see fields hidden inside a hierarchy, and it can write a measure that looks right but calculates something else. You still need to learn DAX, but AI helps you get started on a complex measure or recall syntax.

βœ… Good to know
Quick Measure Suggestions, the feature in this video, has been retired. To write DAX with natural language today, use Copilot in DAX query view.
The mistakes in this video still apply to any AI-written DAX, so check every measure before you add it.

⏱️ Chapters
00:00 Can AI write DAX in Power BI?
00:24 The test model
00:45 Quick Measure Suggestions (now retired)
01:42 Built on GPT-3: why not just use ChatGPT?
02:16 Test 1: a simple SUM measure
03:51 Test 2: SUMX needs a clearer prompt
05:46 Test 3: a measure based on a measure
07:24 Why AI-written DAX adds KEEPFILTERS
07:56 Why table names before measures break
09:04 Why AI can't see fields in a hierarchy
11:02 Vague prompts: average daily sales
12:30 When AI writes the wrong measure
13:02 Should you still learn DAX?

🎬 Should you learn Power BI? youtu.be/7ZMQZ0UUuTs
🎬 Power BI visuals that Excel lacks: youtu.be/GpP0EbSMRpg

➑️ Join this channel to get access to perks: youtube.com/channel/UCJtUOos_MwJa_Ewii-R3cJA/join

βœ‰οΈ Get one practical Excel tip every week in our free newsletter, Between the Sheets: link.xelplus.com/yt-d-newsletter

🚩 Connect with us:
Instagram: instagram.com/lgharani
LinkedIn: linkedin.com/in/leilagharani

#powerbi #dax #ai
Can AI Write DAX in Power BI? What to Watch Out ForYou Wont Believe These Crazy PIVOT TABLE Hacks!Microsoft PowerToys Tutorial: Free Tools for Windows 11Proper Shutdown: Get a clean reboot every time you shutdown your PC #shortsLearn how to Solve a Rubiks Cube once and for all #shortsHand-Drawn Shapes in Excel with the Sketched OutlineThe 1-Formula Fix for Excel’s Messiest TablesThe Most Dangerous Excel User🐠 Power BI Aquarium - A Cool Visual to Add to Your Reports #shortsHow to Make Money with Excel SkillsStop Copying & Pasting Like This! πŸ›‘BEST Pivot Table Hacks Youre Not Using #Excel40 #Excel
Leila Gharani |

Can AI Write DAX in Power BI? What to Watch Out For

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER