Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All
I like to create a button , when user click on it , it will select month = 3 , since now is march.
Paul
Solved! Go to Solution.
Hi @admin11 ,
Please change the calculated column as shown below to get previous month:
Current Month = IF(AND(MONTH('Date'[Date])=MONTH(NOW())-1,YEAR('Date'[Date])=YEAR(NOW())),"Current Month - 1")
Here is the file
Please accept this as a solution if your question has been answered
Appreciate a Kudos 😀
Thank you very much. it work fine now.
Can you pls share with me why i modify the expression below , it does not work :-
Hi @admin11 ,
Please change the calculated column as shown below to get previous month:
Current Month = IF(AND(MONTH('Date'[Date])=MONTH(NOW())-1,YEAR('Date'[Date])=YEAR(NOW())),"Current Month - 1")
Here is the file
Please accept this as a solution if your question has been answered
Appreciate a Kudos 😀
Hi @admin11 ,
You can create a calculated column like this and use this in the slicer to filter data for the current month
Current Month = IF(AND(MONTH(Data[Date])=MONTH(NOW()),YEAR(Data[Date])=YEAR(NOW())),"Current Month")
Than you for sharing.
I just try i get error . it cannot detect my Date field at Date Table.
below is my PBI file :-
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
88 | |
68 | |
61 |
User | Count |
---|---|
152 | |
120 | |
102 | |
87 | |
68 |