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,
I have a clustered column chart, where I want to display data of only the current month. My data source is a SharePoint list. The data format is dd-mm-yyyy. I have created a new column with the formula:
Hi @Anonymous ,
You can try this in a Calculated Column
CurrentMonth =
VAR a= YEAR (TableName[Date])
VAR b=YEAR ( TODAY () )
VAR c= MONTH (TableName[Date] )
VAR d=MONTH ( TODAY () )
return
If (a=b && c=d, "Yes", "No")
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
@Anonymous ,
Please share some sample data and the data type of the columns which are retrieved from Share Point.
Regards,
Harsh Nathani
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
10 | |
6 |