# Custom dataset views incompatible with modules?

**URL:** <https://community.holistics.io/t/custom-dataset-views-incompatible-with-modules/1804>\
**Category:** Report Bugs\
**Created:** [February 8, 2024, 4:28pm UTC](https://community.holistics.io/t/custom-dataset-views-incompatible-with-modules/1804 "2024-02-08T16:28:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dacou](https://community.holistics.io/user_avatar/community.holistics.io/dacou/32/467_2.png) [@dacou](https://community.holistics.io/u/dacou)\
**Post date:** [February 8, 2024, 4:28pm UTC](https://community.holistics.io/t/custom-dataset-views-incompatible-with-modules/1804/1 "2024-02-08T16:28:57Z")

</div>

We use modules heavily in our implementation and apparently I can’t create a dataset view in this context.

I have a dataset like this one :

```auto
use models { 
  dim_cab_site
}

Dataset licences {
  __engine__ : 'aql'
  label: "Licences"

  models: [
    dim_cab_site
  ]

  view {
    model dim_cab_site { }
  }

  relationships: [
  ]
}

```

Holistics returns this error : `Error: In View{}, Model 'dim_cab_site' not found`  
I tried to add the name of the module before the name of the model but it does not work either.

Could you help me with this ?

---

<div class="post-metadata">

**Author:** ![dat.cv](https://community.holistics.io/user_avatar/community.holistics.io/dat.cv/32/876_2.png) [@dat.cv](https://community.holistics.io/u/dat.cv)\
**Post date:** [February 9, 2024, 2:51am UTC](https://community.holistics.io/t/custom-dataset-views-incompatible-with-modules/1804/2 "2024-02-09T02:51:45Z")

</div>

Hi Damien,

Thank you so much for reaching out and letting us know about this issue.

Upon investigation, it appears that there is indeed an issue on our end, which is being unable to use models belonging to modules in Dataset View. We sincerely apologize for any inconvenience it may have caused.

Rest assured, your report has been duly noted. Our team is committed to resolving this promptly, and we’ll keep you informed every step of the way.

---

<div class="post-metadata">

**Author:** ![dacou](https://community.holistics.io/user_avatar/community.holistics.io/dacou/32/467_2.png) [@dacou](https://community.holistics.io/u/dacou)\
**Post date:** [March 11, 2024, 8:49pm UTC](https://community.holistics.io/t/custom-dataset-views-incompatible-with-modules/1804/3 "2024-03-11T20:49:52Z")

</div>

Hi, any news on this issue ?  
Damien

---

<div class="post-metadata">

**Author:** ![daph.td](https://community.holistics.io/user_avatar/community.holistics.io/daph.td/32/811_2.png) [@daph.td](https://community.holistics.io/u/daph.td)\
**Post date:** [March 12, 2024, 5:36am UTC](https://community.holistics.io/t/custom-dataset-views-incompatible-with-modules/1804/4 "2024-03-12T05:36:25Z")

</div>

Hi Damien,

Thank you for following up on this issue! I am Daphne from the Product team at Holistics. This issue is already in our roadmap for implementation, and rest assured that it will be fixed soon. Please bear with us a bit longer. We will be sure to keep you posted when this gets resolved.

We genuinely appreciate your understanding.  
Daphne

---

<div class="post-metadata">

**Author:** ![Huy\_Do\_Nguyen\_An](https://community.holistics.io/user_avatar/community.holistics.io/huy_do_nguyen_an/32/1725_2.png) [@Huy\_Do\_Nguyen\_An](https://community.holistics.io/u/Huy_Do_Nguyen_An)\
**Post date:** [July 22, 2024, 4:42am UTC](https://community.holistics.io/t/custom-dataset-views-incompatible-with-modules/1804/5 "2024-07-22T04:42:17Z")

</div>

Hi @dacou ,  
We have supported your use case in the latest release.  
For now, models imported explicitly with `use` can be used in Dataset view.

```auto
use models { 
  dim_cab_site
}

Dataset licences {
  ...
  view {
    model dim_cab_site { }
  }
}

```

This also works with aliased models too:

```auto
use models { 
  dim_cab_site: site
}

Dataset licences {
  ...
  view {
    model site { }
  }
}

```

Please kindly check this again and let us know if there are any problems.  
Thank you for your patience.
