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
win_anthony
Resolver III
Resolver III

Hiding Measure Columns / Flags

In QlikView, we are able to create measures which flag certain information. When you drop the flag into a table, there is an option to hide the output column. Resulting in a custom manipulation of the table by hiding output columns flagging only information required. Below is sample data (Measure = creating flag / Table 1 = source data / Table 2 = expected output).

Is there a way for us to hide the measure output column?
(Measure = Creating Flag)

 

Pattern Flag = 
SUMX(
    SUMMARIZE(
       ALLSELECTED(PizzaOrders),
        PizzaOrders[transaction_id], "Date",MAX(PizzaOrders[transaction_date])
    ), IF(
        [Date] >= CALCULATE(MIN(PizzaOrders[transaction_date]) )
        && [Date] <= CALCULATE(MAX(PizzaOrders[transaction_date]) )
        ,1, BLANK()
    )
)

 

(Table 1 = Source Data)

transaction_idtransaction_datestatus
pizza1Wed. Nov 25, 2020New
pizza1Fri. Nov 27, 2020In Progress
pizza1Mon. Nov 30, 2020Baking
pizza1Tue. Dec 1, 2020Boxing
pizza1Fri. Dec 4, 2020Complete
pizza2Thu. Nov 26, 2020New
pizza3Wed. Dec 2, 2020New
pizza3Wed. Dec 2, 2020In Progress
pizza3Thu. Dec 3, 2020Complete
pizza4Mon. Nov 30, 2020New
pizza4Fri. Dec 4, 2020Canceled

(Table 2 = Expected Output)

transaction_idtransaction_datestatusPattern Flag **HIDE THIS COLUMN**
pizza1Friday, December 4, 2020Complete1
pizza2November 26, 2020New1
pizza3Thursday, December 3, 2020Complete1
pizza4Friday, December 4, 2020Canceled1

 

Any advice will be greatly appreciated.

1 ACCEPTED SOLUTION
manikumar34
Solution Sage
Solution Sage

@win_anthony , 

 

If you just want to apply that flagg condition on your table and do not want to see on the table then the best way to apply the flag as a visual filter. 

https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-report-filter

Regards, 

Manikumar





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




View solution in original post

2 REPLIES 2
manikumar34
Solution Sage
Solution Sage

@win_anthony , 

 

If you just want to apply that flagg condition on your table and do not want to see on the table then the best way to apply the flag as a visual filter. 

https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-report-filter

Regards, 

Manikumar





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




BA_Pete
Super User
Super User

Hi @win_anthony ,

 

I guess the first question would be: What are you using the flag column for? If it's for calculating other values from or for filtering/slicing, then it doesn't need to be there, it can be worked into other measures or applied as a filter in other ways.

 

If you really just want an invisible column in your table, then I think the closest you would get is to rename the measure in the values list to " " (space), then turn off auto-size column widths on the table and adjust that column width to zero. You could also go to Field Formatting on the format tab and set all the colours of that field to the same as your background for good measure.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




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.