Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Expert
Need to find a way to populate the Master Table with three columns to show either Y, X and W based on the Record Date, using the Fiscial Period table as a look up. Using the two date columns month Start and Month End. So for explain if we take the first date in the Master Table 07th May 2018. This falls in the Y Category (based on column ROLL12_COMPLETE_PDS_IND). hence populate Y in Column Y against those dates and so on...
Test Data
Link: https://www.dropbox.com/s/s96ibzey1ind0ai/Test.pbix?dl=0
Solved! Go to Solution.
Hey,
not sure if this is what you are looking for, but I use this DAX statement to create a calculated column:
Column = var thisDate = 'Master Data'[Report Date] return MAXX( FILTER( GENERATE( SUMMARIZE( 'Fiscial Periods' ,'Fiscial Periods'[FISCAL_MON_START_DT] ,'Fiscial Periods'[FISCAL_MON_END_DT] ,'Fiscial Periods'[ROLL12_COMPLETE_PDS_IND] ) ,var startDate = 'Fiscial Periods'[FISCAL_MON_START_DT] var endDate = 'Fiscial Periods'[FISCAL_MON_END_DT] return GENERATESERIES(startDate,endDate ,1) ) ,''[Value] = thisDate ) ,'Fiscial Periods'[ROLL12_COMPLETE_PDS_IND] )
What's going on:
Hopefully, this is what you are looking for.
Regards,
Tom
Hey,
not sure if this is what you are looking for, but I use this DAX statement to create a calculated column:
Column = var thisDate = 'Master Data'[Report Date] return MAXX( FILTER( GENERATE( SUMMARIZE( 'Fiscial Periods' ,'Fiscial Periods'[FISCAL_MON_START_DT] ,'Fiscial Periods'[FISCAL_MON_END_DT] ,'Fiscial Periods'[ROLL12_COMPLETE_PDS_IND] ) ,var startDate = 'Fiscial Periods'[FISCAL_MON_START_DT] var endDate = 'Fiscial Periods'[FISCAL_MON_END_DT] return GENERATESERIES(startDate,endDate ,1) ) ,''[Value] = thisDate ) ,'Fiscial Periods'[ROLL12_COMPLETE_PDS_IND] )
What's going on:
Hopefully, this is what you are looking for.
Regards,
Tom
tom,,,,what can i say amazing......thank you sir...
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
38 | |
28 | |
26 |
User | Count |
---|---|
99 | |
88 | |
62 | |
42 | |
39 |