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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Weldbild
Frequent Visitor

Building a Custom Slicer with pre-defined Data (Analysis Service)

Hello PowerBI community,

 

I am currently frustrated by the limitations of PowerBI and wanted to know if there even is the theoretical possibility in solving my Problem.

I am connected to an SQL Analysis Service Model which is quiet big and i dont have permission to create/change the Model. 
Now I need to create two user inputs (slicer) in which the user can select a number between 0 and 50, which is then used for calculations in other measures. 
Normally I would create a calucated tabel and use the "workaround" for using a measure as slicer "https://community.powerbi.com/t5/Desktop/How-to-use-a-measure-as-slicer/td-p/1726564" but this is not possible because i am not able to create calculated Collums in PowerBI with Direct Connection to Analysis Service. 

Now, i am trying to create a custom slicer which already has the Data, an array from 0 to 50, implementetd but i am new to JavaScript so i dont know if this is even possible, maybe you have some ideas ? 

2 REPLIES 2
Weldbild
Frequent Visitor

Hi ,

Sorry maybe I can reformulate my Question.

Is it possible to create a custom Slicer which allows the user to select a number between 0 and 100 ? Which than can be used in a Measure. 

Its hard to give sample data because the Data shoud just be an array from 0 to 100. 

The problem is that with the direct querry connection to the Analysis Service Power BI is very limited and i basically can only create Dax measures nothing else. But for a user input of any kind i need a what if partameter (which is not available) or a slicer (which only can slice data in the Model) and i do not have a table from 0 to 100 in my Modell. 

Habitat
Regular Visitor

Hi @Weldbild 

 

Now that you have the data to create the slicer, what is bothering you and how would you like to filter the data? It would be great if you could provide a simple example. Please use the desensitized data to provide more details to better help us figure out your problem.

 

Regards

Morty

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

October NL Carousel

Fabric Community Update - October 2024

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