Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View top_brands in ecommerce.malloy results in "Error: Path to structure not found 'gross_margin'" #57

Open
slachterman opened this issue Mar 24, 2024 · 1 comment

Comments

@slachterman
Copy link

What happens?

When trying to run the top_brands view defined in ecommerce.malloy, an error "Error: Path to structure not found 'gross_margin'" is thrown

This happens for any view in which aggregates built on top of the *_gross_margin fields are used

To Reproduce

Run this view in ecommerce.malloy

  view: top_products is {
    top: 5
    group_by: inventory_items.product_name
    aggregate: total_sales, percent_of_sales, total_gross_margin, order_item_count
  }

OS:

macOS

Malloy Client:

local VSCode

Malloy Client Version:

v0.3.1711050948 (pre-release)

Database Connection:

DuckDB

@lloydtabb
Copy link
Contributor

fixed in #79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants