The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance 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 |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
11 | |
7 |