Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello
i get Expression.Error: we cannot apply field access on type Text.
I have the following code:
let
Source = Excel.Workbook(File.Contents("C:xx"), null, true),
#"Product Sales_Sheet" = Source{[Item="Product Sales",Kind="Sheet"]}[Data],
#"DistinctSource" = List.Distinct("Product Sales"[Date])
in
DistinctSourceCan anyone help me figure out where I'm going wrong?
Hi @BiBra,
Please try this:
let
Source = Excel.Workbook(File.Contents("C:xx"), null, true),
#"Product Sales_Sheet" = Source{[Item="Product Sales",Kind="Sheet"]}[Data],
#"DistinctSource" =Table.Distinct(#"Product Sales_Sheet",{"Date"})
in
#"DistinctSource"
Best regards,
Yuliana Gu
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 46 | |
| 42 |