Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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 |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 31 | |
| 25 |