Forum Discussion

JackFrench11's avatar
JackFrench11
Copper Contributor
May 06, 2024
Solved

How to create a measure that dynamically updates

    I organized my data in power query and used power pivot to create a pivot table off that data model. I have the years 2019-2023 as columns in this current dataset. However, sometimes when...
  • Riny_van_Eekelen's avatar
    May 07, 2024

    JackFrench11 You asked the same question a few days ago, and the confirmed that you had already pivoted the data in PQ and then built a pivot table on that data. Can't tell why there was no more follow-up in that thread.

     

    But, I suggest you undo the pivoting in PQ so that you have a long list of 'audit events', including one column for the year. Then, a regular pivot table will automatically include columns in case New Years are added to the data. And the Grand Totals will be updates as well. No need for Power Pivot and DAX measures for that.

     

    Regarding the conditional formatting, yes that may be a problem. Can't offer you a neat solution right now.

Resources