Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
i have requirement to show the title and also the calculation. first we need columns to dynamically display past year, previous year quarters and year and present year quarters and months if not completed quarters and so on.
for eg:
2023 Q1-24, Q2-24, Q3-24, Q4-24, 2024, Q1-25, Apr-25, May-25.
in this format has to show column headings has to place in matrix columns,
after jun 25, automatically has to show Q1-25, Q2-25.
Solved! Go to Solution.
Thank you for being part of the Microsoft Fabric Community.
Please do follow the below steps to resolve your issue.
Once June rolls in (CM = 6), LastFullQ becomes 2 and the table updates to show Q1-24, Q2-24 instead of April/May.
This approach requires no manual updates—just refresh your model each month, and the Periods table drives both the column headers and the associated calculations.
If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.
Best Regards,
Community Support Team _ C Srikanth.
Hi @sridharbabuk
If you get any chance to provide the sample data so that will provide the guidance to resolve your issue.
If the issue has been resolved, we kindly request you to share the resolution or key insights here to help others in the community. If we don’t hear back, we’ll go ahead and close this thread.
Should you need further assistance in the future, we encourage you to reach out via the Microsoft Fabric Community Forum and create a new thread. We’ll be happy to help.
Thank you for your understanding and participation.
Best Regrads,
Cheri Srikanth
Hi @sridharbabuk
I wanted to follow up since I haven't heard from you in a while. Have you had a chance to share the pbix file and sample data. If your issue is resolved, please consider marking the post as solved. However, if you're still facing challenges, feel free to share the details, and we'll be happy to assist you further.
Looking forward to your response!
Best Regards,
Community Support Team _ C Srikanth.
Hi @sridharbabuk
Thanks for reaching out to the Fabric Community.
Could you please provide the sample data and your requirement in detail so that we can assist you on your issue.
Best Regards,
Cheri Srikanth
Thank you for being part of the Microsoft Fabric Community.
Please do follow the below steps to resolve your issue.
Once June rolls in (CM = 6), LastFullQ becomes 2 and the table updates to show Q1-24, Q2-24 instead of April/May.
This approach requires no manual updates—just refresh your model each month, and the Periods table drives both the column headers and the associated calculations.
If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.
Best Regards,
Community Support Team _ C Srikanth.
i am using the below dax as calculated column in date table.
To achieve dynamic columns in a Power BI matrix (e.g., "2023 Q1", "Apr-25"), create a calculated column in your Date table (or a separate table) that generates these specific period labels based on TODAY() (or a selected date). You'll also need a corresponding sort column for these labels to ensure correct chronological order in the matrix. Place this "Period Label" column in the Matrix's "Columns" well and your measures in the "Values" well. The exact logic for generating the labels (e.g., distinguishing between full years, quarters, and months) will depend on your specific display rules.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
43 | |
21 | |
20 | |
15 | |
15 |
User | Count |
---|---|
27 | |
20 | |
18 | |
16 | |
14 |