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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
rdg515
Resolver I
Resolver I

Union filtered metric results

Ultimately, I want to be able to use a waterfall chart, but in order to do so it requires my results to be in a certain format, i.e.  rows of Category | Value pairs.

 

The measures I want to use for the waterfall chart exist on two tables, and I have two date slicers (one slicer for each table) with cards showing the results of the measures as the slicers are dynamically adjusted.  

 

Is it possible to union the two measures together into a table with the necessary Category | Value format for the waterfall chart, AND have the slicers dynamically impact the results of that unioned table?

1 ACCEPTED SOLUTION

My colleague figured out the solution to being able to use a waterfall visual with measures. Step 1: Create a table with the necessary Waterfall visual format. Note, the value is not included here. Waterfall = UNION( Row("Category","Baseline","SortBy",1), Row("Category","Volume","SortBy",2), Row("Category","Performance","SortBy",3) ) Step 2: Create a value measure which is nothing but a switch that uses the appropriate measure results for each category. Value = sumx(Waterfall, Switch(Waterfall[Category], "Baseline", [mRepeatCalls], "Volume", [mVolume], "Performance", [mPerformance] ) )

View solution in original post

3 REPLIES 3
v-jiascu-msft
Employee
Employee

Hi @rdg515,

 

Can you share a sample, please? Please mask the sensitive parts first. 

If the two tables have proper relationships, you can unite the two measures easily. 

 

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

My colleague figured out the solution to being able to use a waterfall visual with measures. Step 1: Create a table with the necessary Waterfall visual format. Note, the value is not included here. Waterfall = UNION( Row("Category","Baseline","SortBy",1), Row("Category","Volume","SortBy",2), Row("Category","Performance","SortBy",3) ) Step 2: Create a value measure which is nothing but a switch that uses the appropriate measure results for each category. Value = sumx(Waterfall, Switch(Waterfall[Category], "Baseline", [mRepeatCalls], "Volume", [mVolume], "Performance", [mPerformance] ) )

Thanks for sharing, @rdg515.

 

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.