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
Paulyeo11
Impactful Individual
Impactful Individual

How to create straight table for competitor by Revenue ?

Hi All

I have load the competitor data to PBI , But i am not able to create stairght table report to show competitor by Revenue amount.

 

my PBI file :-

https://www.dropbox.com/s/3b73fsffnmahvw0/COMPETITOR_V002.pbix?dl=0

 

Paulyeo11_0-1607506122183.png

 

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @Paulyeo11 

You've got a filter applied to only show values for the year 2020 and you don't have any data for 2020.  So the visuals were blank.

filters.png

 

Remove the filter and you get this

unfiltered-tables.png

regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

8 REPLIES 8
PhilipTreacy
Super User
Super User

Hi @Paulyeo11 

You've got a filter applied to only show values for the year 2020 and you don't have any data for 2020.  So the visuals were blank.

filters.png

 

Remove the filter and you get this

unfiltered-tables.png

regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Hi Phil

 

Thank you very much for spot the filter.

 

Paul Yeo

 

PhilipTreacy
Super User
Super User

HI @Paulyeo11 

Sorry, just checked a bit more and realised that you have 100's  of blank rows in your data.  It just looked like there was nothing there.

You need to get rid of these blank rows and you will be able to do what you want.

To illustrate, after creating a new table with just a distinct list of Competitors

Table = FILTER (
    DISTINCT (
        SELECTCOLUMNS ( COMPETITOR, "COMPETITOR" , [COMPETITOR], "AMT REVENUE_C", [AMT REVENUE_C])
    ),
    NOT ( ISBLANK ([COMPETITOR] ) )
)

 

I can get this table visual.

distinct-companies.png

Cheers

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Hi Phil

 

Thank you for your help.

 

I try to delete all the empty row from my row data file .

But when i import to PBI , i still unable compute the striaght table for COMPETITOR AND AMT_REVUENUE_C

 

https://www.dropbox.com/s/5xt4q49cyzt1mok/COMPETITOR_V005.pbix?dl=0

 

I cannot use your script to delete to those empty row. because i need many field.

 

Paul Yeo

 

PhilipTreacy
Super User
Super User

Hi @Paulyeo11 

There's no data loaded into the model in that PBIX file?

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Hi Phil

 

https://www.dropbox.com/s/5xt4q49cyzt1mok/COMPETITOR_V005.pbix?dl=0

from below screen shot , i have 16 row of data. 

 

I am not able create stright table for below 2 field :-

AMT_REVENUE_C

COMPETITOR

Paulyeo11_0-1607513417298.png

Notice that AMT_REVENUE_C field is whole number :-

Paulyeo11_1-1607513601901.png

 

 

PhilipTreacy
Super User
Super User

hi @Paulyeo11 

You've only highlghted 1 competitor?  Do you want to see a total for each competitor over a time period?  Or you want to see all competitors for all periods?  Can you please giev an example of your desired result?

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Hi Philip

 

i just need to make the competitor sales amount display on straight table . 
I need to display all competitor sales . 

can you help me make the revenue amount display on table ?

 

paul

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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