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
VuongLM93
Helper III
Helper III

Maxx of concatenated columns?

Dear all,

I have a report connecting to a data model in my company,

I cannot add table/ columns....but only measures since this model was not created by me,

 

I have 2 table with following columns

Dim - Product:  Brand - Flavour - Pack type - Pack Size - SKU name - SKU Code

Fact - Inventory : Inventory  (other columns were hide by admin I think)

Currently a have a measures to see maximum inventory in a month filter :

MAXX (KEEPFILTERS (VALUES ( SKU Code) ) ,Calculate (Inventory))

 

This works well but I dont want SKU Code, but a concatenated column of : Concatenate(Brand - Flavour - Pack type - Pack Size). 

 

since I am not allowed to create additional column in this data model, is there anyway to modify the measure to get the desired result ?

 

Thanks so much !!!!!

 

1 ACCEPTED SOLUTION

Hi,

You may download the PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

9 REPLIES 9
Ashish_Mathur
Super User
Super User

Hi,

Share some data, describe the question and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

The attached sample is in the link gg drive below,

https://drive.google.com/open?id=1C1mFEY9woeijiYP-1l_AeoxpVQTror-1

 

@Ashish_Mathur 

 

Hi,

Show the exact result that you want to see in the Putput worksheet so that i can tally my formula's result with your expected result.  Also, in the Dim-Distribotor Table, how can one distributor have 2 codes.  Is that a mistake?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur 

sorry I have refresh the data and output again,

Yes Somestimes 1 Distributor Code have 2 name in reality , but I will just keep the unique values only,

Basically I want the a Measure to show the Maximum of values ,

If filter by month then it will be the maxiumum of all dates in that month only,

 

Hi,

You may download the PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur  working like magic, lots of thank to your help !!

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur  After scaling to 60 SKU x 330 Distributors and 2018 - 2019 daily,

this "measure" become very slow to calculate,

I don't know if the Summarize is the problem?

Not sure.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.