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.
I have a table in which I have a column for dates. I want to count the number of values in it which are in the Next week. How to do that?
I tried using the below code, but it doesn't work.
let
Source = List.Count(List.Select(Date_Column[Date], each Date.IsInNextWeek(Date_Column[Date])="TRUE")])
in
Source
Solved! Go to Solution.
Hi @Gangula,
Please try this:
= Table.AddColumn(#"Previous Step", "Count Dates", each Table.RowCount(Table.SelectRows(Source, each Date.IsInNextWeek([Dates])=true)))
Best regards,
Yuliana Gu
Hi @Gangula,
Please try this:
= Table.AddColumn(#"Previous Step", "Count Dates", each Table.RowCount(Table.SelectRows(Source, each Date.IsInNextWeek([Dates])=true)))
Best regards,
Yuliana Gu
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 |
---|---|
110 | |
97 | |
77 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |