Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Calculate STDEV include 0 values - PROBLEM IS WITH MY DATA LINEAGE

Hi, I'm pretty new to Power BI. I have learned a TON from this forum so thank you to the many contributors.   I have seen a post about this problem before and understand the theory of joining with...
  • StefanoGrimaldi's avatar
    4 years ago

    try on power query create 2 table, one with the range of dates you want, another with all posible combination of location, stafftype etc etc, with a column tha concatenate all columns as a reference, now on both tables create a dummy column named "ref" and with a "." as data on all records xD, merge both tables using that last column as reference you will have all possible locations ,stadtype etc combination by each date on the range, load this to the data model, now using dax create a new column to read or sum the data from the fact table and populate the new reference table you did, or using a merge again with the fact and new table on power query both final apporach should work fine