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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
RMV
Helper V
Helper V

define specific values for new table

Hi all,

 

Can i define specific values to be shown for a new table?

 

Regards

1 ACCEPTED SOLUTION
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @RMV,

 

If I understand you correctly, you should be able to use DATATABLE function(DAX) to create the table with your defined value in this scenario.

 

For more details your refer to this article. And the formula below is for your reference. Smiley Happy

New Table = 
DATATABLE (
    "Name", STRING,
    "Region", STRING,
    {
        { " User1", "East" },
        { " User2", "East" },
        { " User3", "West" },
        { " User4", "West" },
        { " User4", "East" }
    }
)

t1.PNG

 

Regards

View solution in original post

4 REPLIES 4
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @RMV,

 

Do you mean create a new table using DAX/M, or add a Table visual on the report with some specific defined values?

 

Could post some sample data with your expected result? Smiley Happy 

 

Regards

Hi @v-ljerr-msft,

 

I mean create new table using DAX.

And I'd like to define the values of the new table.

 

For example

ColumnName

01-1

02-2

etc

 

This "01-1", "02-2" etc is defined directly using the DAX with the New Table feature.

Is this possible? Kindly advise. 

 

Regards,

v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @RMV,

 

If I understand you correctly, you should be able to use DATATABLE function(DAX) to create the table with your defined value in this scenario.

 

For more details your refer to this article. And the formula below is for your reference. Smiley Happy

New Table = 
DATATABLE (
    "Name", STRING,
    "Region", STRING,
    {
        { " User1", "East" },
        { " User2", "East" },
        { " User3", "West" },
        { " User4", "West" },
        { " User4", "East" }
    }
)

t1.PNG

 

Regards

Thanks, @v-ljerr-msft!

This is what I'm looking for.

It works well.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors