Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Hello, I am wanting to get the last 3 months from the current month for a title for my report. This is what I want it to say but in PowerBI. So now the title should say March 2022 - June 2022. Any ideas?!
Solved! Go to Solution.
Create this measure:
Title =
VAR _current_month = FORMAT(TODAY(), "MMMM YYYY")
VAR _3months_before = FORMAT(EOMONTH(TODAY(), -3), "MMMM YYYY")
RETURN
"First Bank " & UNICHAR(10) & " Monthly Dellinquent Loans Comparison " & _3months_before & " - " & _current_month
Then put it in a card visual for example:
Title =
VAR _current_month = FORMAT(TODAY(), "MMMM YYYY")
VAR _january_this_year = FORMAT(DATE(YEAR(TODAY()),1,1), "MMMM YYYY")
RETURN
"First Bank " & UNICHAR(10) & " Monthly Dellinquent Loans Comparison " & _january_this_year & " - " & _current_month
I have a follow up question. How do I get my months to match what I have in my report title. I just want to show the last 3 months from the current month.
@Power5 you can use the date column in the filter pane or a slicer and set it to last 3 calendaric months under the relative date option
Hello, how would I make a title card that says January 2022 - the current month and year?
Title =
VAR _current_month = FORMAT(TODAY(), "MMMM YYYY")
VAR _january_this_year = FORMAT(DATE(YEAR(TODAY()),1,1), "MMMM YYYY")
RETURN
"First Bank " & UNICHAR(10) & " Monthly Dellinquent Loans Comparison " & _january_this_year & " - " & _current_month
Hello SpartBI,
By chance could you take a look at this question I had. https://community.powerbi.com/t5/Desktop/How-do-I-transpose-my-data-but-then-also-create-row-headers...
@Power5 sure, it's already night here so we'll take a look at it tomorrow. Tag me tomorrow there to remind me. In case I answered the previous question don't forget to mark it as a solution for community visability.
P.S. check out my report:
https://community.powerbi.com/t5/Data-Stories-Gallery/Contoso-by-SpartaBI/td-p/2449543.
Appreciate your kudos 🙂
Were you able to take a look?
Hey! No, sorry, why didn't you write to me earlier :)) I will PM you
Great thanks!
Create this measure:
Title =
VAR _current_month = FORMAT(TODAY(), "MMMM YYYY")
VAR _3months_before = FORMAT(EOMONTH(TODAY(), -3), "MMMM YYYY")
RETURN
"First Bank " & UNICHAR(10) & " Monthly Dellinquent Loans Comparison " & _3months_before & " - " & _current_month
Then put it in a card visual for example:
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
User | Count |
---|---|
94 | |
90 | |
83 | |
76 | |
49 |
User | Count |
---|---|
145 | |
140 | |
109 | |
68 | |
55 |