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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
aletib
Helper I
Helper I

Default drill selection based on other column (live connection: no additional columns)

Hi everyone, searched around but only found workarounds based on the creation of an additional column which is not viable for me as I'm working on a live connection.

Scenario:
column visual displaying values of revenue by week number (1-13) on X axis.

Drill up goes to quarter (name) and year, drill down goes to day and other fields.

 

The DB contains also a relative, rather than absolute, Quarter Aging field : quarter aging = 0 is always current quarter; 1 next quarter, -1 previous quarter.

 

I want to save my dashboard with the viauls showing weeks on X-Axis for current quarter but without using quarter aging in the hierarchy: users want to see quarter names when they drill up, not integer numbers (quarter aging's values).

If I leave quarter in the X fields and set Quarter Aging = 0 in the filters, when users drill up, they will see the name of current quarter but not other quarters (because of quarter aging = 0).

If only we had the chance to select default value of quarter through a formula/measure I could do a:


Default Value =
CALCULATE(
    MAX('Fiscal Calendar'[Quarter]),
    FILTER'Fiscal Calendar','Fiscal Calendar'[Quarter Aging]=0)
)


and Default Value would always return the Quarter name to use, but I found no way of doing that 😞

Open to ideas, thx! 😉

2 REPLIES 2
Greg_Deckler
Super User
Super User

@aletib Can you convert your Live connection to DirectQuery for Power BI and AS? It's a Preview feature that you can turn on.


@ 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...

@Greg_Deckler  No, I can't. Big corporate environment, no support on SSAS (requires laterst SQL/SSQS version as far as I know) and that won't be coming anytime soon for us 😞

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.