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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
rainerpowerbi
Resolver I
Resolver I

Dynamic month names in table-visual depending on slicer-selection

Hi,

I want to solve following problem:

1)
User has month-slicer for selecting one reporting-month (SINGLE SELECTION)

2)
Depending on the Slicer (Step 1) following table is created:

==================================================
Entity | Previous Month(amount) | Reporting-Month(amount) |Difference Reporting-Month(amount) - Previous Month(amount)
==================================================

Up to this point everything is ok.

--------------------------------------------------
Question:
Is it possible change dynamic the table-column-field „Reporting-Month(amount)“ into 2020_07 and the table-column-field „Previous Month(amount)“ into 2020_06 depending on the Slicer-Input ?

===================================
Entity | 2020_06 | 2020_07 |Difference
===================================

Many users in this forum prefer matrix instead of table but matrix brings new problems.

Is it possible changing dynamically TABLE-COLUMNS (instead matrix-columns) ?

If only matrix-solution is possible: Is there a relative simple solution ? 😊

Kind regards

Rainer

1 ACCEPTED SOLUTION

Hi @rainerpowerbi ,

 

You can do like this.

Please refer to my .pbix file.

v-lionel-msft_0-1596531949237.png

Best regards,
Lionel Chen

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

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

@rainerpowerbi - Yes. It may not seem like it at first, but I have an example of something similar to this on pages 2 and 3 here: 

https://community.powerbi.com/t5/Quick-Measures-Gallery/The-Complex-Selector/m-p/1116633#M534


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hi Greg,
thanks for your answer.

Further question:
Is it possible ading a difference-column in "Your" Complex-sector-example on page 1 ?
(example: Week 6 | Wek 7 | DIFFERENCE Week7-Wek 7)

The "difference-topic" is the reason I would prefer the table-visual, but it seems table-using is not poosible

Kind regards

 

Rainer

Hi @rainerpowerbi ,

 

You can do like this.

Please refer to my .pbix file.

v-lionel-msft_0-1596531949237.png

Best regards,
Lionel Chen

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

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.