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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
bicoffee
Helper I
Helper I

max of 3 months

Hi ,

 

I want to show case data in the below format and also i want to arrive max of selected months.

 

CAFÉITEM 1Jan QtyJul QtyAug QtyBase (max of 3 mth)
CAFÉ 1ITEM 110141214
CAFÉ 1ITEM 215 115
CAFÉ 1ITEM 3 222424
CAFÉ 2ITEM 1123221243243
CAFÉ 2ITEM 24202828
CAFÉ 2ITEM 35126183183
CAFÉ 3ITEM 1111313
CAFÉ 3ITEM 212141114
CAFÉ 3ITEM 3742424
1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@bicoffee 

I suggest you to create a qty measure and put those field in a matrix visual.

Measure = MAX([Qty])

Vpazhenmsft_0-1631002928374.png

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
V-pazhen-msft
Community Support
Community Support

@bicoffee 

I suggest you to create a qty measure and put those field in a matrix visual.

Measure = MAX([Qty])

Vpazhenmsft_0-1631002928374.png

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

bicoffee
Helper I
Helper I

HI,

 

I am having data in the below format...

 

bicoffee_0-1630846641102.png

 

mussaenda
Super User
Super User

Hi @bicoffee ,

 

On power query, there is a function under Add Column->Statistics->Maximum

 

You just need to select all the coulmns you want to include on getting the Max value and perform the function.

 

Untitled.png

 

Hope this helps.

watkinnc
Super User
Super User

If your current table name or last step is named LastStep, you  can add a new step, and in the formula bar, type:

 

= Table.AddColumn(LastStep, "MaxValue", each List.Max(Table.ToRows(LastStep))

 

--Nate


I’m usually answering from my phone, which means the results are visualized only in my mind. You’ll need to use my answer to know that it works—but it will work!!
bicoffee
Helper I
Helper I

bicoffee_0-1630828379469.png

 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

Top Solution Authors
Top Kudoed Authors