Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 51 | |
| 46 | |
| 23 | |
| 19 |
| User | Count |
|---|---|
| 136 | |
| 110 | |
| 50 | |
| 32 | |
| 29 |