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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Matrix table to show value on Column and period

Hi,

 

I would like to show daily actual sales figure with a total for the period.

But for Target i want only the Target for the period.

 

The Period depends on a Date slicer.

 

Does anyone have any idea how can i do this ?

Or if its not possible for PowerBI ?

 

Thanks for the assistance.

 

ActualvsTarget.JPG

 

 

 

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous 

Please share your data and the required/expected results.

Also, is target a calculated column?

Cheers!

Anonymous
Not applicable

Hi,

 

Target is a measure.

based on 'Workdays' for the period x "Target Hours per day for the category"

 

thanks for the response

@Anonymous ,

 

Generally, you need an aggregation value based on selected period and category, right? If it is, you may create a measure using DAX like below and drag the measure to the value field of the matrix:

Result =
CALCULATE ( SUM ( Table[Sales] ), ALLSELECTED ( Table ) )

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi,

 

Thanks for helping out.

i am not sure if i done it wrongly but the result is not what i am looking for.

 

totalvalue.JPG

Anonymous
Not applicable

Hi all,

 

can someone please assist me in this area ?

or what i'm asking is not possible to do in Matrix table ?

 

Thanks alot

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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