Power BI Visulization Query

shansakhi

Active Member
Joined
Apr 5, 2008
Messages
298
Office Version
  1. 365
Platform
  1. Windows
Hi All,
I am trying to build a report in Power BI, here I need your support to guide me how I can achieve the required visulization.

Here W1 is our comany.


Book1
BCDEFGHIJKLMNOP
3
4Input Output
5Bus RouteFare ($)Bus CompanyBus RouteW1 (Our Company) FareMin (Lowest) Fare% Lower than W1Other Bus Company >>>>>> Lower to Higher fares excluding W1
6BOM-DEL20W1 (Our Company)BOM-DEL2014-30%F10 / 14C5 / 25A10 / 30
7BOM-DEL25C5BOM-BLR2220-9%H19 / 20K1 / 25E10 / 33Y12 / 38J25 / 48
8BOM-DEL14F10
9BOM-DEL30A10
10BOM-BLR28W1 (Our Company)
11BOM-BLR33E10
12BOM-BLR20H19
13BOM-BLR38Y12
14BOM-BLR48J25
15BOM-BLR25K1
16
Sheet1
Cell Formulas
RangeFormula
J6:J7J6=I6/H6-1



Regards,
 
for the sake of simplicity I loaded your table into Power Pivot and wrote these simple measures (I am not good at DAX at all - sorry in advance for bad DAX coding)
Code:
W1_fare:=CALCULATE(MAX(Table1[Fare ($)]), Table1[Bus Company] = "W1")
Code:
min_fare:=MIN(Table1[Fare ($)])
Code:
lower_%:=DIVIDE([min_fare], [W1_fare]) - 1
Code:
lower_to_higher:=
VAR tbl = FILTER(Table1, Table1[Bus Company] <> "W1")
RETURN
    CONCATENATEX(
        tbl,
        Table1[Bus Company] & " / " & Table1[Fare ($)],
        " | ",
        Table1[Fare ($)],
        ASC
    )
 

Attachments

  • fares.png
    fares.png
    21.1 KB · Views: 5
Upvote 0

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,225,643
Messages
6,186,147
Members
453,339
Latest member
Stu61

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top