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.
Hello,
I've created the following:
This is working pretty well. Only problem is when I select multiple months I receive the error single value expected.
So is there a dax solution to convert the selection to a time period.
For example I've selected Jan,Feb,Mar returns = 01012018 .. 31032018
Here is my Code.
Huidge Maand =
VAR Maand = SELECTEDVALUE(Data[MonthNameLong])
VAR Jaar = SELECTEDVALUE(Data[Year])
VAR Datum = Maand & "/" & Jaar
return
if(HASONEVALUE(Data[MonthNameLong]);EOMONTH(Datum;0);EOMONTH(TODAY();-1))
Solved! Go to Solution.
If a calendar table is included, you may use MIN Function, MAX Function and ALLSELECTED Function.
If a calendar table is included, you may use MIN Function, MAX Function and ALLSELECTED Function.
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 |
---|---|
97 | |
96 | |
81 | |
74 | |
66 |
User | Count |
---|---|
126 | |
106 | |
105 | |
86 | |
72 |