Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
restevez11
Frequent Visitor

Multipliying Daily values by a factor per "dayofWeek"

Hi,

I have a measure called "Contratado diario sin Nominaciones" and i need to multiply them by a factor called "Porcentaje" that is stored in another table called "Optimización Contratado" group by day of the week . 

restevez11_0-1664893187434.png

restevez11_1-1664893266073.png

For example, for 04/02/2022, which is a Friday (viernes) the result should be 4505.58 *106% . 

 

Thanks for your help!

1 ACCEPTED SOLUTION
restevez11
Frequent Visitor

It was easier than expected: I linked the new table with my Dates table. But I will use this option when it's not possible.  Thanks

View solution in original post

2 REPLIES 2
restevez11
Frequent Visitor

It was easier than expected: I linked the new table with my Dates table. But I will use this option when it's not possible.  Thanks

v-jingzhang
Community Support
Community Support

Hi @restevez11 

 

You can try this measure

Measure =
[Contratado diario sin Nominaciones]
    * MAXX (
        FILTER (
            'Optimización Contratado',
            'Optimización Contratado'[Week Day Number] = WEEKDAY ( SELECTEDVALUE ( 'Table'[Date] ), 2 )
        ),
        'Optimización Contratado'[Porcentaje]
    )

vjingzhang_0-1664950327032.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.