Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hi,
I've this formula:
Solved! Go to Solution.
Hi, @Giada_Togliatti
Measure cannot be applied to the slicer, it is recommended to convert the measure into a calculated column.
%_column =
VAR activitystart = Fact_Pianificazione[Data_Inizio_Pianificata]
VAR activityend = Fact_Pianificazione[Data_Fine_Pianificata]
VAR selecteddate = TODAY()
VAR activitytotaldays = activityend - activitystart + 1
RETURN
SWITCH (
TRUE (),
activityend <= selecteddate, 1,
activitystart <= selecteddate
&& activityend > selecteddate,
( selecteddate - activitystart + 1 ) / activitytotaldays,
activitystart > selecteddate, 0
)
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Giada_Togliatti
Measure cannot be applied to the slicer, it is recommended to convert the measure into a calculated column.
%_column =
VAR activitystart = Fact_Pianificazione[Data_Inizio_Pianificata]
VAR activityend = Fact_Pianificazione[Data_Fine_Pianificata]
VAR selecteddate = TODAY()
VAR activitytotaldays = activityend - activitystart + 1
RETURN
SWITCH (
TRUE (),
activityend <= selecteddate, 1,
activitystart <= selecteddate
&& activityend > selecteddate,
( selecteddate - activitystart + 1 ) / activitytotaldays,
activitystart > selecteddate, 0
)
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Giada_Togliatti , You need to generate a series from on to 100 . And the create new measure where values from this new table = %
Example
percent = generateseries(1,100,1) //0.1 or .01 as step based on values
new measure = countx(values(Fact_Pianificazione[ID]), if([%] = max(percent[Value]), [ID], blank()))
Where ID is group by need for measure values to me in range from 0 to 100
refer my video for more details
or
https://www.daxpatterns.com/dynamic-segmentation/
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 52 | |
| 38 | |
| 37 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 34 | |
| 32 | |
| 29 |