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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
guchil
Regular Visitor

need to make custom reports.

HI all,

Wanted to custom BI like

student Name: abc

Student Class: 1st 

 

where Student Name: is a label

and abc from DB

how to i add label feild cn any one please help in the same.

 

Thanks in advance 

 

Ganesh

6 REPLIES 6
Greg_Deckler
Community Champion
Community Champion

Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
amitchandak
Super User
Super User

Can you share sample data and sample output.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

HI Amit

I have a student table which consists of 

Roll noNameDate of admissionClass
1Dan12-06-20019
2Ron20-06-20028
3Dave11-05-20037

  Expected report (i am basically trying to rewrite my crystal reports to power bi)

on passing the roll no should be getting thesr values. the label feild will have custom texts not the name on the column 

                                   ABC School                                               
Student Name(these are labels ) Dan
Class(these are labels )  9

I think it can of the custom display. Assumption Roll no is selected.

union(
summarize(table,"ABC School","","-",""),
summarize(table,"ABC School","Student Name(these are labels )","-",max(Name)),
summarize(table,"ABC School","Class(these are labels )","-",max(Class)&"")
)

 

summarize can replace with selectcolumns with few changes. You can try that. No need of max in case selectcolumns

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

hi  @guchil 

I'm a little confused on your expected output.

Do you mean if you selected Roll no=3 then show like  it.

What is custom texts not the name on the column? could you please show it more clearly with different scenarios?

 

Regards,

Lin

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

Yes if i select roll no 3 then it show accordinly.

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors