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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Define table cell by cell

I need to create a report using a table where I want to define data cell by cell. That is my example:

 

CapturaAA.JPG

 

It is posible to do this on power by?

 

Regards

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

A common practice is to group the original CUSTOMER values into several groups by creating a new group column, and use this group column in a table or matrix visual. Download the attachment for details.

053102.jpg

 

You could use below DAX codes to create a group column. Modify it per your need.

Groups = 
SWITCH (
    'Table'[TYPE],
    "A",
        IF (
            'Table'[CUSTOMER] IN { "1", "2" },
            'Table'[CUSTOMER],
            "Rest of Customer Type A"
        ),
    "B",
        IF (
            'Table'[CUSTOMER] IN { "5", "6", "7" },
            'Table'[CUSTOMER],
            "Rest of Customer Type B"
        )
)

 

Or you could also right click on CUSTOMER column and select New group. Use grouping and binning in Power BI Desktop - Power BI | Microsoft Docs

053103.jpg

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

View solution in original post

5 REPLIES 5
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

A common practice is to group the original CUSTOMER values into several groups by creating a new group column, and use this group column in a table or matrix visual. Download the attachment for details.

053102.jpg

 

You could use below DAX codes to create a group column. Modify it per your need.

Groups = 
SWITCH (
    'Table'[TYPE],
    "A",
        IF (
            'Table'[CUSTOMER] IN { "1", "2" },
            'Table'[CUSTOMER],
            "Rest of Customer Type A"
        ),
    "B",
        IF (
            'Table'[CUSTOMER] IN { "5", "6", "7" },
            'Table'[CUSTOMER],
            "Rest of Customer Type B"
        )
)

 

Or you could also right click on CUSTOMER column and select New group. Use grouping and binning in Power BI Desktop - Power BI | Microsoft Docs

053103.jpg

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

selimovd
Super User
Super User

Hey @Anonymous ,

 

how does you data look like?

If you have the 4 columns CUSTOMER, TYPE, SALES and PPL with the values mentioned above you can just display that as a matrix or table and you get the result like displayed in your example.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 
Anonymous
Not applicable

Hey @selimovd 

 

Origin data is a full sales data  with lot of customers and types.

 

Thay is why I need to specifiy row by row data I want to display.

 

Regards

Hey @Anonymous ,

 

give an example of how your data looks and I can try to help you.

If you say "a full sales data" doesn't help.

 

You can also create multiple measures and show them on the x-axis if that helps:

Display DAX Measures in a Matrix on Rows - What the fact.bi

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 
Anonymous
Not applicable

Hi @selimovd 

 

Sorry if I have not been very clear, my data looks like this:

CapturaA1.JPG

Regards

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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