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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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