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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Pfin
Frequent Visitor

Power BI - Excel To Power BI - Report Style Help Needed

I'm trying to recreate a report in Power BI that has long lived in Excel for YEARS where the user can basically create the format that has been used.  Any input on how to provide this same information on a one pager to provide same info would be greatly appreciated.

 

In short, there is an X-axis (Segment/Size) and a Y-axis (Manufacturer).  I need the report to place the data points (Model, Price, and Available Date) in the cells.  This is a living table/report where current values can be updated, records removed, records added.

 

It doesn't have to be this exact look / feel, but it needs to be easy to read similar to this and displayed on one page and printable. I have attached the example data and report below.

 

Data Table

 

ManufacturerSegmentModelPriceAvailable Date
ChevroletMiniSpark120009/30/2025
ChevroletMiniBolt90002/28/2026
ChevroletSmallTrax220006/30/2025
ChevroletMediumMalibu240001/31/2026
ChevroletMediumBlazer270003/31/2026
FordSmallFiesta1200012/31/2025
FordSmallFocus100008/31/2025
FordLargeTaurus190004/30/2025
KiaMiniPicanto100008/31/2025
KiaSmallRio1400011/30/2025
KiaLargeCadenza280007/31/2025

 

Report

Avg Sale Price - Car Example - Report.JPG

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@Pfin 

Use this measure:

Data = 

CONCATENATEX(
    Table02,
    Table02[Model] & UNICHAR(10) &
    Table02[Price] & UNICHAR(10) &
    Table02[Available Date] & UNICHAR(10), "-----------" & UNICHAR(10)
)

Fowmy_0-1738961667325.png

 




Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

This M code works as well

let
    Source = Excel.CurrentWorkbook(){[Name="Data"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Manufacturer", type text}, {"Segment", type text}, {"Model", type text}, {"Price", Int64.Type}, {"Available Date", type date}}),
    #"Merged Columns" = Table.CombineColumns(Table.TransformColumnTypes(#"Changed Type", {{"Price", type text}, {"Available Date", type text}}, "en-IN"),{"Model", "Price", "Available Date"},Combiner.CombineTextByDelimiter("#(lf)", QuoteStyle.None),"Merged"),
    #"Grouped Rows" = Table.Group(#"Merged Columns", {"Manufacturer", "Segment"}, {{"Count", each Text.Combine(_[Merged],"#(lf)-----------------#(lf)")}}),
    #"Pivoted Column" = Table.Pivot(#"Grouped Rows", List.Distinct(#"Grouped Rows"[Segment]), "Segment", "Count")
in
    #"Pivoted Column"

Hope this helps.

Ashish_Mathur_0-1738986768358.png

 


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

This is fantastic as well!  Thank you for the reply and help!

You are welcome.  If my previous reply helped, please mark that reply as Answer.


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

@Pfin 

Use this measure:

Data = 

CONCATENATEX(
    Table02,
    Table02[Model] & UNICHAR(10) &
    Table02[Price] & UNICHAR(10) &
    Table02[Available Date] & UNICHAR(10), "-----------" & UNICHAR(10)
)

Fowmy_0-1738961667325.png

 




Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Pfin
Frequent Visitor

Wow!  This is fantastic!  Thank you!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors