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
Anonymous
Not applicable

Does Power BI have an alternative for Calculated Dimension

Dear All

 

I am trying to create a calculated dimension like below calcualted measure, I would like to put this under the Rows or Columns tab under the Visualizations pane. But Power Bi is not allowing me to do the same. Basically this is a text field which gets populated based on a measure value. How can i do this with Power BI? 

 

I would like to see a result like below, when i try to keep the  measure <Caclulated Dimension 1> under the values pane then it shows only 1 row and not all of possible values of the calcualted Dimension ( measure )

 

<Caclulated Dimension 1> <Caclulated Measure 1> <Caclulated Measure 2><Caclulated Measure 3>

<Caclulated Dimension 2> <Caclulated Measure 1> <Caclulated Measure 2><Caclulated Measure 3>

<Caclulated Dimension 3> <Caclulated Measure 1> <Caclulated Measure 2><Caclulated Measure 3>

<Caclulated Dimension 4><Caclulated Measure 1> <Caclulated Measure 2><Caclulated Measure 3>

 

 

User Tier 1 =
    var v_Sum_Curr_Prd_Diff_Mg_Seats=  [Current Period Manage Seats]
    var v_SelectedUserTier=""
Return
If(((v_Sum_Curr_Prd_Diff_Mg_Seats =0) ) ,"0 Users",
If(((v_Sum_Curr_Prd_Diff_Mg_Seats >=0 && (v_Sum_Curr_Prd_Diff_Mg_Seats <=5)) ) ,
    "1-5 Users"
,
If(((v_Sum_Curr_Prd_Diff_Mg_Seats >=6 && (v_Sum_Curr_Prd_Diff_Mg_Seats <=15)) ) ,
"6-15 Users"
,
If(((v_Sum_Curr_Prd_Diff_Mg_Seats >=16 && (v_Sum_Curr_Prd_Diff_Mg_Seats <=30))  ) ,
"16-30 Users"
,

If(((v_Sum_Curr_Prd_Diff_Mg_Seats >=31 && (v_Sum_Curr_Prd_Diff_Mg_Seats <=55)) ) ,
"31-55 Users"
,

If(((v_Sum_Curr_Prd_Diff_Mg_Seats >=56 && (v_Sum_Curr_Prd_Diff_Mg_Seats <=100))  ) ,
"56-100 Users"
,

If(((v_Sum_Curr_Prd_Diff_Mg_Seats >=101 )) ,

"100+ users"
,



"Users Unknown")
))))))
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , The information you have provided is not making the problem clear to me. Can you please explain with an example?

Are you looking for segmentation/bucketing of measure?

https://www.youtube.com/watch?v=CuczXPj0N-k
Appreciate your Kudos.


View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

Share some data, describe the business context/question and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
amitchandak
Super User
Super User

@Anonymous , The information you have provided is not making the problem clear to me. Can you please explain with an example?

Are you looking for segmentation/bucketing of measure?

https://www.youtube.com/watch?v=CuczXPj0N-k
Appreciate your Kudos.


Anonymous
Not applicable

 

@amitchandakIn your video may i ask how is the Margin Bucket table linked to the other tables? Or is it unlinked?  

Secondly in the MarginBucket Measure the min and max are just place holders i am assuming to summarize? They would not refer to the min and max for the whole table but for each row?

 

 

 

Anonymous
Not applicable

Your video helped. Thank you! 

Anonymous
Not applicable

HI Amit,

Yes, Sort of segmentation.

I can acheive the same thing via a filter value. But i would prefet the text to be a part of the table itself.

 

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.