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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
nabilamj
Regular Visitor

Make a New Table that affected by Slicer

Hi All,

 

I have an Existing Table below, with the "Project Name" column as the slicer column

Project NameUser IDTotal - ATotal - BPaid - APaid - BRemaining - ARemaining - B
StarO1231002080102010
StarO3451002080102010
MoonO5671002080102010

 

I want to make a New Table based on the Existing Table like below (or the transposed version should be okay too)

CategoryTotalPaidRemaining
A30024060
B603030

or

CategoryAB
Total30060
Paid24030
Remaining6030

 

I want to create a bar chart from the New Table like below

nabilamj_0-1692861182702.png

 

and I want the New Table (and the bar chart) to be affected by the Project Name slicer. Should I use DAX or Power Query? Or I can directly create the graph on the dashboard without creating a New Table first, If yes how?

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Ashish_Mathur_0-1693026514839.png

 


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

 

and I want the New Table (and the bar chart) to be affected by the Project Name slicer. 

 

That is not possible either in DAX or Power Query.  You cannot create a calculated table from user input.  (It can be an intermediate step in a measure, as a table variable, but the final result of the measure needs to be a scalar value).

 

Reformulate your request - replace "Table"  with "table visual".  That can be done.  Same for the column chart.

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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.