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 September 15. Request your voucher.
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
User | Count |
---|---|
65 | |
60 | |
55 | |
54 | |
31 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
46 |