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
HeitorLeao
Regular Visitor

Average Values Dynamically - What if

Hi, I have the following database and dynamic controls...
Data

HeitorLeao_0-1625837285181.png

Controls

HeitorLeao_1-1625837332024.png

 

I would like a measure that calculate the average value of multiply columns Scalar * Value but that also:

  • Calculate the value regardless the time context (year, month, day and hour);
  • The Scalar column can be modified by the controls above if the hour of the specific day attends to:
    • The year of the day is between the years of the control;
    • The hour classification matches with the control (control A multiply hours A);

Problem that I´ve found:

  • The hour classification depend of the type of the day, so it´s possible to exits an hour "7" that is "A" in some specific day and another hour "7" as "B" in another specific day

Thanks for any help.

 

 

1 REPLY 1
daxer-almighty
Solution Sage
Solution Sage

I would like a measure that calculate the average value of multiply columns Scalar * Value but that also:

  • Calculate the value regardless the time context (year, month, day and hour);
  • The Scalar column can be modified by the controls above if the hour of the specific day attends to:
    • The year of the day is between the years of the control;
    • The hour classification matches with the control (control A multiply hours A);

@HeitorLeao, sorry to say that but the above is about as clear as mud... I expect you won't get any replies unless you make it totally clear what you mean and what you want to get.

 

For instance, what does it mean "the scalar column can be modified"? If the column exists in a base table, it can't be modified by any measure... and if it exists in some visual, then... I can't understand what it is you want.

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.

Top Solution Authors