Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all, I am a complete newbe to PowerBI.
I have a table with 3 columns, the first one is "id file" each name is different, the second is the date of creation for each of this files,the third one is the date of cloture.
i'd like to make a bar chart that shows by month the number of files created (one bar) and the number of files finished (second bar)
thanks, and sorry for my english
Solved! Go to Solution.
@PTIFANOU OK:
Creation Month = FORMAT([CreationDate],"mmmm")
Cloture Month = FORMAT([ClotureDaate],"mmmm")
Documents Created =
VAR __Month = MAX('Months',[Month])
RETURN
COUNTROWS(FILTER('Table',[Creation Month] = __Month))
Documents Cloture =
VAR __Month = MAX('Months',[Month])
RETURN
COUNTROWS(FILTER('Table',[Cloture Month] = __Month))
Hi,
I suggest having a calendar table like below.
One active relationship and one inactive relationship.
And then use USERELATIONSHIP dax function when using inactive relationship.
Hi,
I suggest having a calendar table like below.
One active relationship and one inactive relationship.
And then use USERELATIONSHIP dax function when using inactive relationship.
@PTIFANOU OK:
Creation Month = FORMAT([CreationDate],"mmmm")
Cloture Month = FORMAT([ClotureDaate],"mmmm")
Documents Created =
VAR __Month = MAX('Months',[Month])
RETURN
COUNTROWS(FILTER('Table',[Creation Month] = __Month))
Documents Cloture =
VAR __Month = MAX('Months',[Month])
RETURN
COUNTROWS(FILTER('Table',[Cloture Month] = __Month))
thanks a lot both of yours solutions works perfectly
thanks fotr ur time and efforts
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!