Forum Discussion

smpa01's avatar
smpa01
Community Champion
2 years ago
Solved

Default Dataset Refresh

Issue: I am trying to generate a power automate action based on data-driven alert triggered from a measure set up on the default dataset stemming from Datamart.   The following is the wokflow. ...
  • smpa01's avatar
    smpa01
    2 years ago

    Anonymous thanks for looking into it, comments in green.

     

    Based on the description, try to check that default dataset is set to the appropriate storage mode. - If you are somehow suggesting that, the datamart table storage mode needs to be changed to IMPORT in order to achieve ewhat I need; Datamart tables have default storage mode as DQ and it can't be changed to Import; feel free to correct me if I am wrong. But my research suggests that DQ is the only option.

     

    The ISSUE

    The main issue in this, how can I create a alert dependent on a default dataset from datmart that auto-refreshes on a regular interval.

     

    I created a thin report (and measures and alerts based on that) based on the default dataset only to realize later that alert would never work cause default dataset never refreshes. The prereq of an alert is that it only works on a refreshd dataset and default dataset never refreshes.

     

    The FIX

    Therefore, instead of creating a thin report I created a report with DQ by running a SQL query on the db table of the sql server that datamart produces and I have made dependent measures and alerts based onthat. Since it is a a DQ, I don't need to set up any explicit refresh schedule as it can run at a fixed interval of my choice=-> create measures=>generate alert=>feeds dowsntream PA.

     

    TLDR: For a datamart depenedent data-driven alert to trigger, don't make a thin report from the default dataset, rather create a report with DQ by running a SQL query on the SQL server db it comes with.