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 two calculation formulas, to discover a user's adherence.
I want to find a way, that ...
If you select only one month in my data segment it will return the column "% Peso Aderência Limite"
But if I want to view from January to July, in this case more than a month, I would use the calculation "SUM([Realizado])/SUM([Previsto])"
How could i do that ?
Solved! Go to Solution.
@Anonymous , Refer
measure =
var _min = minx(allselected(Date),Date[Date])
var _max = maxx(allselected(Date),Date[Date])
var _diff = datediff(_min,_max,month)
return
if(_diff <=1 ,[% Peso Aderência Limite],SUM([Realizado])/SUM([Previsto]))
@Anonymous , Refer
measure =
var _min = minx(allselected(Date),Date[Date])
var _max = maxx(allselected(Date),Date[Date])
var _diff = datediff(_min,_max,month)
return
if(_diff <=1 ,[% Peso Aderência Limite],SUM([Realizado])/SUM([Previsto]))
Many many thanks!!
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 |
---|---|
49 | |
26 | |
21 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |