Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I want to create a New Parameter that allows me to see what's the phasing according to the day of sales.
For example, we have 20 days of sales in a period so in 19 day we are supposed to be in 95% of sales of the target.
WORKING DAYS | DAYS OF SALES | TARGET |
20 | 20 | =Days of sales / Working Days |
By creating this, I'd like to move freely this bar so it indicates me I sould be in 55% of the target as we are in 11 day.
Thanks
@NewParameter @Phasing
Solved! Go to Solution.
Hi,
You can try to create this slicer table first:
SlicerTable = DISTINCT(SELECTCOLUMNS('Table',"Parameter",'Table'[Day of sales]))
Then try this measure:
Measure =
IF (
MAX ( 'Table'[Day of sales] ) = SELECTEDVALUE ( SlicerTable[Parameter] ),
SELECTEDVALUE ( SlicerTable[Parameter] ) / MAX ( 'Table'[Working days] ),
BLANK ()
)
When select one value in slicer, the result shows:
Hope this helps.
Best Regards,
Giotto
Hi,
You can try to create this slicer table first:
SlicerTable = DISTINCT(SELECTCOLUMNS('Table',"Parameter",'Table'[Day of sales]))
Then try this measure:
Measure =
IF (
MAX ( 'Table'[Day of sales] ) = SELECTEDVALUE ( SlicerTable[Parameter] ),
SELECTEDVALUE ( SlicerTable[Parameter] ) / MAX ( 'Table'[Working days] ),
BLANK ()
)
When select one value in slicer, the result shows:
Hope this helps.
Best Regards,
Giotto
OK, so create the What If parameter, let's call it Phasing perhaps and then you could do this:
Measure = SELECTEDVALUE('Phasing'[Value]) / MAX('Table'[Working Days])
?
If that isn't it, Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
User | Count |
---|---|
106 | |
85 | |
81 | |
73 | |
71 |
User | Count |
---|---|
111 | |
102 | |
97 | |
74 | |
67 |